Pazpar2 compiles on Windows. But does not yet work
[pazpar2-moved-to-github.git] / src / eventl.c
index 7cbd6b0..29a621c 100644 (file)
@@ -40,7 +40,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #else
 #include <unistd.h>
 #endif
+#if HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
+
 #include <stdlib.h>
 #include <errno.h>
 #include <string.h>