summaryrefslogtreecommitdiff
path: root/src/bootstrap_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap_gui.cpp')
-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