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/address.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/core/address.h') diff --git a/src/network/core/address.h b/src/network/core/address.h index 72631220c..6385c5d02 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -12,13 +12,13 @@ #ifndef NETWORK_ADDRESS_H #define NETWORK_ADDRESS_H -#ifdef ENABLE_NETWORK - #include "os_abstraction.h" #include "config.h" #include "../../string_func.h" #include "../../core/smallmap_type.hpp" +#ifdef ENABLE_NETWORK + class NetworkAddress; typedef SmallVector NetworkAddressList; typedef SmallMap SocketList; -- cgit v1.2.3-70-g09d2