summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-12 14:13:39 +0000
committerDarkvater <darkvater@openttd.org>2006-10-12 14:13:39 +0000
commitd983d9373231d4593791fafa431211637275b7b4 (patch)
treefbb126240d1c40050c711e6dc55e464a97dd40d5 /network.c
parente78f6b7b73fed7a783f637935aa72ceadc7aa7a2 (diff)
downloadopenttd-d983d9373231d4593791fafa431211637275b7b4.tar.xz
(svn r6750) -Codechange: Juggle around some header includes as they're only used when
networking is enabled.
Diffstat (limited to 'network.c')
-rw-r--r--network.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/network.c b/network.c
index 7034e65c7..88e893b09 100644
--- a/network.c
+++ b/network.c
@@ -1,16 +1,7 @@
/* $Id$ */
#include "stdafx.h"
-#include "openttd.h"
-#include "debug.h"
-#include "functions.h"
-#include "string.h"
-#include "strings.h"
-#include "map.h"
#include "network_data.h"
-#include "command.h"
-#include "variables.h"
-#include "date.h"
#if defined(WITH_REV)
extern const char _openttd_revision[];
@@ -24,6 +15,15 @@
#ifdef ENABLE_NETWORK
+#include "openttd.h"
+#include "debug.h"
+#include "functions.h"
+#include "string.h"
+#include "strings.h"
+#include "map.h"
+#include "command.h"
+#include "variables.h"
+#include "date.h"
#include "table/strings.h"
#include "network_client.h"
#include "network_server.h"