Fixes for sys/stat.h on Windows.
[yaz-moved-to-github.git] / src / daemon.c
index 1824ef0..c4746ca 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>
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
 #endif
 
 #include <fcntl.h>