]> granicus.if.org Git - ngircd/commitdiff
Make sure signal.h is #include'd when needed
authorAlexander Barton <alex@barton.de>
Mon, 12 Jul 2010 11:22:19 +0000 (13:22 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 12 Jul 2010 11:22:19 +0000 (13:22 +0200)
src/ngircd/irc-login.c
src/ngircd/resolve.c

index b6cda6f7e1fe5827aca12da314795380677f3b9e..10e2df82614469bf7ed58116c6f5c00ea1133418 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
+#include <signal.h>
 #include <unistd.h>
 
 #include "ngircd.h"
index d121b0a938dfb6c07dedbd7836a42e9abeecff28..808ce53f55ed0e1e6d13c6fc82ebb90ecc0d1edd 100644 (file)
@@ -23,6 +23,7 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#include <signal.h>
 
 #ifdef IDENTAUTH
 #ifdef HAVE_IDENT_H