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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/core/tcp.h') diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index fa3f0a12e..c368339ef 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -14,13 +14,13 @@ #ifndef NETWORK_CORE_TCP_H #define NETWORK_CORE_TCP_H -#ifdef ENABLE_NETWORK - #include "os_abstraction.h" #include "address.h" #include "core.h" #include "packet.h" +#ifdef ENABLE_NETWORK + /** Base socket handler for all TCP sockets */ class NetworkTCPSocketHandler : public NetworkSocketHandler { private: -- cgit v1.2.3-54-g00ecf