summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-25 14:08:56 +0000
committerrubidium <rubidium@openttd.org>2007-12-25 14:08:56 +0000
commitd821e5e92bc822804d4abe04efceabb7b836467e (patch)
tree5f3bd987b076408ff5055f57a24befcc756ad4fd /src
parentf10ec724b6adf531935f350c97011e1624d9b9e3 (diff)
downloadopenttd-d821e5e92bc822804d4abe04efceabb7b836467e.tar.xz
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
Diffstat (limited to 'src')
-rw-r--r--src/core/endian_func.hpp2
-rw-r--r--src/strgen/strgen.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/endian_func.hpp b/src/core/endian_func.hpp
index 1e639272c..4e2e948d5 100644
--- a/src/core/endian_func.hpp
+++ b/src/core/endian_func.hpp
@@ -17,7 +17,7 @@
#elif !defined(TESTING)
/* Else include endian[target/host].h, which has the endian-type, autodetected by the Makefile */
#if defined(STRGEN)
- #include "/endian_host.h"
+ #include "endian_host.h"
#else
#include "endian_target.h"
#endif
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index f981e7cd8..b5d6208d2 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -4,6 +4,7 @@
#include "../string.h"
#include "../table/control_codes.h"
#include "../core/alloc_func.hpp"
+#include "../core/endian_func.hpp"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>