From f7c374bcbbe40b2dffbcac47b9ae8269a2528a76 Mon Sep 17 00:00:00 2001 From: lotherk Date: Mon, 23 Nov 2026 11:35:58 +0000 Subject: [PATCH] embed: 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 --- src/backend/embed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/embed.c b/src/backend/embed.c index aa31adb..c625783 100644 --- a/src/backend/embed.c +++ b/src/backend/embed.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include