More explicit use of #if HAVE_...header's.
[yaz-moved-to-github.git] / src / daemon.c
index 1824ef0..f0ccd3e 100644 (file)
 #include <unistd.h>
 #endif
 #include <stdlib.h>
-#include <signal.h>
 #if HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif
 
+#if HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 
 #if HAVE_SYS_STAT_H
 #include <sys/stat.h>