aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-sema.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32-sema.c')
-rw-r--r--src/w32-sema.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32-sema.c b/src/w32-sema.c
index 6a5137dd..33961041 100644
--- a/src/w32-sema.c
+++ b/src/w32-sema.c
@@ -28,9 +28,10 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
#include <sys/types.h>
-#include <windows.h>
#include <io.h>
#include "util.h"