summaryrefslogtreecommitdiff
path: root/src/network/network_internal.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-04 20:00:56 +0000
committerrubidium <rubidium@openttd.org>2009-10-04 20:00:56 +0000
commit5ff6053326c060c0c717a0b5745423dda92d7af9 (patch)
treecc22e4d6ce8af11fa57166e92c49e4c5ca9ba1a2 /src/network/network_internal.h
parent1ee5520854db0f7097554da048c28b389326a0c6 (diff)
downloadopenttd-5ff6053326c060c0c717a0b5745423dda92d7af9.tar.xz
(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
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r--src/network/network_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index 3ce35b79c..b894d17b9 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -12,8 +12,6 @@
#ifndef NETWORK_INTERNAL_H
#define NETWORK_INTERNAL_H
-#ifdef ENABLE_NETWORK
-
#include "network.h"
#include "network_func.h"
#include "network_base.h"
@@ -25,6 +23,8 @@
#include "../command_type.h"
+#ifdef ENABLE_NETWORK
+
#ifdef RANDOM_DEBUG
/**
* If this line is enable, every frame will have a sync test