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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/msproxy.c b/src/common/msproxy.c
index 8ad37ffc..5103233a 100644
--- a/src/common/msproxy.c
+++ b/src/common/msproxy.c
@@ -28,6 +28,10 @@
 #include <stdlib.h>
 #include <fcntl.h>
 
+#ifndef WIN32
+#include <unistd.h>
+#endif
+
 #define WANTSOCKET
 #define WANTARPA
 #include "inet.h"