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/network_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_type.h') diff --git a/src/network/network_type.h b/src/network/network_type.h index 0bd4d69de..512eebb1e 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -12,13 +12,13 @@ #ifndef NETWORK_TYPE_H #define NETWORK_TYPE_H -#ifdef ENABLE_NETWORK - #include "../company_type.h" #include "../economy_type.h" #include "core/config.h" #include "core/game.h" +#ifdef ENABLE_NETWORK + enum { /** How many clients can we have */ MAX_CLIENTS = 255, -- cgit v1.2.3-54-g00ecf