]> jfr.im git - solanum.git/blobdiff - ircd/ircd_signal.c
send: add sendto_one_multiline_* API
[solanum.git] / ircd / ircd_signal.c
index e2195704fd99597c44182017f6345a96f31a0359..2c4070c1fe22246b6fc87eb0381fd5a43dc2bea1 100644 (file)
@@ -29,6 +29,9 @@
 
 #ifndef _WIN32
 
+#include <sys/types.h>
+#include <sys/wait.h>
+
 /*
  * dummy_handler - don't know if this is really needed but if alarm is still
  * being used we probably will
@@ -54,6 +57,9 @@ sigchld_handler(int sig)
 /*
  * sigterm_handler - exit the server
  */
+static void
+sigterm_handler(int sig) __attribute__((noreturn));
+
 static void
 sigterm_handler(int sig)
 {