summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/include/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h
index e83fd2bd94..d1f1de6b6a 100644
--- a/win32/include/sys/socket.h
+++ b/win32/include/sys/socket.h
@@ -17,6 +17,8 @@ extern "C" {
#include <windows.h>
#include <winsock.h>
+#include "win32.h"
+
#define ENOTSOCK WSAENOTSOCK
#ifdef USE_SOCKETS_AS_HANDLES