From a7d54cf9464f457f181f920a4edc34fcb97aac4f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 22 Dec 2007 21:01:49 +0000 Subject: [PATCH] (svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines. --- src/strings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/strings.cpp b/src/strings.cpp index e6951633c3..862d5b47b9 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"