summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-17 21:29:15 +0000
committerrubidium <rubidium@openttd.org>2011-11-17 21:29:15 +0000
commitb7b74ed7dc0e70cb2ce6931e71f5311600ec3a50 (patch)
tree8335fccdb7abf561edeb026eee94f1c6357e60b7 /src
parentea54c38e2c95ba1b348e5b9e94524dc0bbaf42e1 (diff)
downloadopenttd-b7b74ed7dc0e70cb2ce6931e71f5311600ec3a50.tar.xz
(svn r23247) -Fix (r23244): compile failure on certain archaic platforms
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap_gui.cpp b/src/bootstrap_gui.cpp
index 63bde102b..1de4417cf 100644
--- a/src/bootstrap_gui.cpp
+++ b/src/bootstrap_gui.cpp
@@ -12,6 +12,9 @@
#include "stdafx.h"
#include "base_media_base.h"
#include "blitter/factory.hpp"
+
+#if defined(ENABLE_NETWORK) && defined(WITH_FREETYPE)
+
#include "core/geometry_func.hpp"
#include "fileio_func.h"
#include "fontcache.h"
@@ -206,6 +209,8 @@ public:
}
};
+#endif /* defined(ENABLE_NETWORK) && defined(WITH_FREETYPE) */
+
/**
* Handle all procedures for bootstrapping OpenTTD without a base grapics set.
* This requires all kinds of trickery that is needed to avoid the use of