summary refs log tree commit diff stats
path: root/src/common/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ignore.c')
-rw-r--r--src/common/ignore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/ignore.c b/src/common/ignore.c
index 0ed23daa..cd0305e5 100644
--- a/src/common/ignore.c
+++ b/src/common/ignore.c
@@ -23,7 +23,9 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#ifndef WIN32
+#ifdef WIN32
+#include <io.h>
+#else
 #include <unistd.h>
 #endif