diff options
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r-- | src/network/core/udp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/network/core/udp.h b/src/network/core/udp.h index bddbba9ba..3696bada4 100644 --- a/src/network/core/udp.h +++ b/src/network/core/udp.h @@ -1,16 +1,5 @@ /* $Id$ */ -#ifndef NETWORK_CORE_UDP_H -#define NETWORK_CORE_UDP_H - -#ifdef ENABLE_NETWORK - -#include "os_abstraction.h" -#include "core.h" -#include "game.h" -#include "packet.h" -#include "../../debug.h" - /** * @file udp.h Basic functions to receive and send UDP packets. * @@ -72,6 +61,17 @@ * 1+ 1 whether the server is dedicated (0 = no, 1 = yes) */ +#ifndef NETWORK_CORE_UDP_H +#define NETWORK_CORE_UDP_H + +#ifdef ENABLE_NETWORK + +#include "os_abstraction.h" +#include "core.h" +#include "game.h" +#include "packet.h" +#include "../../debug.h" + /** 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 |