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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/notify.c b/src/common/notify.c
index 9c6e54de..2c6eb6db 100644
--- a/src/common/notify.c
+++ b/src/common/notify.c
@@ -24,7 +24,9 @@
 #include <fcntl.h>
 #include <time.h>
 
-#ifndef WIN32
+#ifdef WIN32
+#include <io.h>
+#else
 #include <unistd.h>
 #endif