summary refs log tree commit diff stats
path: root/src/common/msproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/msproxy.c')
-rw-r--r--src/common/msproxy.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/msproxy.c b/src/common/msproxy.c
index 9c85394d..5103233a 100644
--- a/src/common/msproxy.c
+++ b/src/common/msproxy.c
@@ -26,9 +26,12 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <fcntl.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #define WANTSOCKET
 #define WANTARPA
 #include "inet.h"