diff options
-rw-r--r-- | core/network.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/network.h b/core/network.h index 460bedbd..6f140d0c 100644 --- a/core/network.h +++ b/core/network.h | |||
@@ -35,10 +35,11 @@ | |||
35 | 35 | ||
36 | 36 | ||
37 | #ifdef WIN32 /* Put win32 includes here */ | 37 | #ifdef WIN32 /* Put win32 includes here */ |
38 | 38 | //Windows XP | |
39 | #define WINVER 0x0501 | ||
39 | #include <winsock2.h> | 40 | #include <winsock2.h> |
40 | #include <windows.h> | 41 | #include <windows.h> |
41 | #include <wspiapi.h> | 42 | #include <ws2tcpip.h> |
42 | 43 | ||
43 | #undef VANILLA_NACL /* make sure on windows we use libsodium */ | 44 | #undef VANILLA_NACL /* make sure on windows we use libsodium */ |
44 | 45 | ||