embed: <signal.h> for kill/SIGKILL
embed.c calls kill(pid, SIGKILL) to stop a child that outlived its request, without the header that declares both. gcc -Werror=implicit-function-declaration stops the build on the NetBSD target (build/logs/release-2026-11-23b-cross.log: embed.c:726). Linux libc pulls signal.h in through another header, so the build on the build host never saw it. Test: make against the NetBSD sysroot headers, rc=0
This commit is contained in:
1 parent
91f0136e9d
commit
f7c374bcbb
1 file changed
+1
@@ -22,6 +22,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in new issue
Block a user