]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
xap_helper.h: include signal.h for sig* functions
authorEric Wong <e@80x24.org>
Mon, 4 Sep 2023 10:36:05 +0000 (10:36 +0000)
committerEric Wong <e@80x24.org>
Tue, 5 Sep 2023 03:01:41 +0000 (03:01 +0000)
This is documented by all sig* manpages of FreeBSD and Linux,
but only OpenBSD fails to build without this header.

lib/PublicInbox/xap_helper.h

index 493a24f46a2a596d8a8f773a86101207d829fb50..0f16d316fab0b09ff0e2dc5b0444448ed180dc9f 100644 (file)
@@ -30,6 +30,7 @@
 #include <fcntl.h>
 #include <limits.h>
 #include <search.h>
+#include <signal.h>
 #include <stdio.h>
 #include <string.h>
 #include <sysexits.h>