From 5ff6053326c060c0c717a0b5745423dda92d7af9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Oct 2009 20:00:56 +0000 Subject: (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 --- src/network/core/tcp_content.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/core/tcp_content.h') diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index b1b100817..2c54641eb 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -14,13 +14,13 @@ #ifndef NETWORK_CORE_CONTENT_H #define NETWORK_CORE_CONTENT_H -#ifdef ENABLE_NETWORK - #include "os_abstraction.h" #include "tcp.h" #include "packet.h" #include "../../debug.h" +#ifdef ENABLE_NETWORK + /** The values in the enum are important; they are used as database 'keys' */ enum ContentType { CONTENT_TYPE_BEGIN = 1, ///< Helper to mark the begin of the types -- cgit v1.2.3-54-g00ecf