summaryrefslogtreecommitdiffstats
path: root/stream/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'stream/network.h')
-rw-r--r--stream/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/network.h b/stream/network.h
index 76e2e6d520..36b470dfe4 100644
--- a/stream/network.h
+++ b/stream/network.h
@@ -25,6 +25,9 @@
#ifndef HAVE_CLOSESOCKET
#define closesocket close
#endif
+#ifndef HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
#define BUFFER_SIZE 2048