changeset 18411:113ad66bd423 draft

(svn r23247) -Fix (r23244): compile failure on certain archaic platforms
author rubidium <rubidium@openttd.org>
date Thu, 17 Nov 2011 21:29:15 +0000
parents f92685fc7f4e
children ed6973313b87
files src/bootstrap_gui.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	}
 };
 
+#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