summaryrefslogtreecommitdiff
path: root/src/network/core/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/udp.h')
-rw-r--r--src/network/core/udp.h4
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