aboutsummaryrefslogtreecommitdiff
path: root/src/socketstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketstream.c')
-rw-r--r--src/socketstream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socketstream.c b/src/socketstream.c
index bef1803..73da239 100644
--- a/src/socketstream.c
+++ b/src/socketstream.c
@@ -3,7 +3,11 @@
#include <assert.h>
#include <string.h>
+#if !defined(_WIN32)
#include <arpa/inet.h>
+#else
+#include "win32.h"
+#endif
/* close */
#include <unistd.h>