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, 4 insertions, 0 deletions
diff --git a/src/common/ignore.c b/src/common/ignore.c
index adb61f37..0ed23daa 100644
--- a/src/common/ignore.c
+++ b/src/common/ignore.c
@@ -23,6 +23,10 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "xchat.h"
 #include "ignore.h"
 #include "cfgfiles.h"