aboutsummaryrefslogtreecommitdiffstats
path: root/util/dotlock.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/dotlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/dotlock.c b/util/dotlock.c
index 571262674..79e45c734 100644
--- a/util/dotlock.c
+++ b/util/dotlock.c
@@ -29,7 +29,9 @@
#include <sys/utsname.h>
#endif
#include <sys/types.h>
+#ifndef _WIN32
#include <sys/time.h>
+#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>