]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Compilation fix for FreeBSD.
authorAndre Noll <maan@systemlinux.org>
Thu, 17 Nov 2011 09:27:30 +0000 (10:27 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 17 Nov 2011 09:27:30 +0000 (10:27 +0100)
Commit 25ca796b (daemon: Introduce parent_waits flag for
daemonize().) broke the compilation on FreeBSD due to signal.h not
being included. This patch adds the missing include.

daemon.c

index 541e44defedc3d17d609dc13b09cf18a94c493e0..0bf2f0ac9e81d72dff8623d7ebc54014007c40e4 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -12,6 +12,7 @@
 #include <grp.h>
 #include <sys/time.h>
 #include <stdbool.h>
 #include <grp.h>
 #include <sys/time.h>
 #include <stdbool.h>
+#include <signal.h>
 
 #include "para.h"
 #include "daemon.h"
 
 #include "para.h"
 #include "daemon.h"