summaryrefslogtreecommitdiff
path: root/src/network/core/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/packet.h')
-rw-r--r--src/network/core/packet.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/core/packet.h b/src/network/core/packet.h
index 7f344d017..7b4bf26f3 100644
--- a/src/network/core/packet.h
+++ b/src/network/core/packet.h
@@ -18,8 +18,6 @@
#include "core.h"
#include "../../string_type.h"
-#ifdef ENABLE_NETWORK
-
typedef uint16 PacketSize; ///< Size of the whole packet.
typedef uint8 PacketType; ///< Identifier for the packet
@@ -87,6 +85,4 @@ public:
void Recv_string(char *buffer, size_t size, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);
};
-#endif /* ENABLE_NETWORK */
-
#endif /* NETWORK_CORE_PACKET_H */