summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-22 21:01:49 +0000
committerrubidium <rubidium@openttd.org>2007-12-22 21:01:49 +0000
commitf9c26f80c5f95e1860722a33bdc6e8af39beb482 (patch)
treece5672bcc9f3a9743b4cdf349a131a59ea185179
parent3074bca136dc9a7848d4897d7236baed51406bd3 (diff)
downloadopenttd-f9c26f80c5f95e1860722a33bdc6e8af39beb482.tar.xz
(svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines.
-rw-r--r--src/strings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index e6951633c..862d5b47b 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -35,6 +35,9 @@
#include "fontcache.h"
#include "gui.h"
#include "strings_func.h"
+#if defined(TTD_BIG_ENDIAN)
+#include "core/endian_func.hpp"
+#endif
/* for opendir/readdir/closedir */
# include "fios.h"