]> jfr.im git - solanum.git/blobdiff - ircd/ircd_signal.c
whowas.c: store account name in whowas (#323)
[solanum.git] / ircd / ircd_signal.c
index b60172952e35d27ca72c07d134496b4c0991df78..22472529d6890ef1600486aabd6d924e52f46a33 100644 (file)
@@ -26,6 +26,8 @@
 #include "s_conf.h"
 #include "client.h"
 #include "send.h"
+#include <sys/types.h>
+#include <sys/wait.h>
 
 /*
  * dummy_handler - don't know if this is really needed but if alarm is still
@@ -52,6 +54,9 @@ sigchld_handler(int sig)
 /*
  * sigterm_handler - exit the server
  */
+static void
+sigterm_handler(int sig) __attribute__((noreturn));
+
 static void
 sigterm_handler(int sig)
 {