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