summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index 1dd2e6827..89b5ca1a4 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -36,8 +36,9 @@
#else
-#include <windows_defs.h>
+#include <windef.h>
#include <winsock2.h>
+typedef int socklen_t;
#endif