summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'network_core.h')
-rw-r--r--network_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/network_core.h b/network_core.h
index 6627576cf..304f580a8 100644
--- a/network_core.h
+++ b/network_core.h
@@ -21,6 +21,7 @@
#define ENABLE_NETWORK // On windows, the network is always enabled
// Windows has some different names for some types..
typedef SSIZE_T ssize_t;
+ typedef int socklen_t;
#endif
#define GET_LAST_ERROR() WSAGetLastError()