summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
committerDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
commita3d40a29fc10e67c4a1b7cbd7fd519da030167af (patch)
tree5bcc6532a22928d167bf464a1c93f8aafbefa0f6 /network_core.h
parente8fac6c6cb2a19a15b57c9629b0f69de37acecd2 (diff)
downloadopenttd-a3d40a29fc10e67c4a1b7cbd7fd519da030167af.tar.xz
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Fix warning in graph_gui.c with const problem
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..