changeset 8135:4fb8fe8a5d1c draft

(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
author rubidium <rubidium@openttd.org>
date Tue, 25 Dec 2007 14:08:56 +0000
parents 96cfd2276689
children e96bc0580891
files src/core/endian_func.hpp src/strgen/strgen.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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>