summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'network_core.h')
-rw-r--r--network_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_core.h b/network_core.h
index cb4df4a1f..855e5f2c3 100644
--- a/network_core.h
+++ b/network_core.h
@@ -12,10 +12,10 @@
#ifdef ENABLE_NETWORK
// Windows stuff
-#if defined(WIN32)
-#include <windows.h>
+#if defined(WIN32) || defined(WIN64)
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <windows.h>
#if !(defined(__MINGW32__) || defined(__CYGWIN__))
// Windows has some different names for some types..