diff options
author | rubidium <rubidium@openttd.org> | 2009-10-04 20:00:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-04 20:00:56 +0000 |
commit | 5ff6053326c060c0c717a0b5745423dda92d7af9 (patch) | |
tree | cc22e4d6ce8af11fa57166e92c49e4c5ca9ba1a2 /src/network/core/udp.h | |
parent | 1ee5520854db0f7097554da048c28b389326a0c6 (diff) | |
download | openttd-5ff6053326c060c0c717a0b5745423dda92d7af9.tar.xz |
(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r-- | src/network/core/udp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/udp.h b/src/network/core/udp.h index 106c48dde..b36c1c8b2 100644 --- a/src/network/core/udp.h +++ b/src/network/core/udp.h @@ -71,8 +71,6 @@ #ifndef NETWORK_CORE_UDP_H #define NETWORK_CORE_UDP_H -#ifdef ENABLE_NETWORK - #include "os_abstraction.h" #include "address.h" #include "core.h" @@ -80,6 +78,8 @@ #include "packet.h" #include "../../debug.h" +#ifdef ENABLE_NETWORK + /** Enum with all types of UDP packets. The order MUST not be changed **/ enum PacketUDPType { PACKET_UDP_CLIENT_FIND_SERVER, ///< Queries a game server for game information |