summary refs log tree commit diff stats
path: root/src/common/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/notify.c')
-rw-r--r--src/common/notify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/notify.c b/src/common/notify.c
index 04795849..9c6e54de 100644
--- a/src/common/notify.c
+++ b/src/common/notify.c
@@ -22,9 +22,12 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <unistd.h>
 #include <time.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #include "xchat.h"
 #include "notify.h"
 #include "cfgfiles.h"