(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
authorrubidium
Tue, 25 Dec 2007 14:08:56 +0000
changeset 8631 ab2ac7e7e047
parent 8630 7b301d073e50
child 8632 f407b7a80d2d
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
src/core/endian_func.hpp
src/strgen/strgen.cpp
--- a/src/core/endian_func.hpp	Tue Dec 25 14:03:06 2007 +0000
+++ b/src/core/endian_func.hpp	Tue Dec 25 14:08:56 2007 +0000
@@ -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	Tue Dec 25 14:03:06 2007 +0000
+++ b/src/strgen/strgen.cpp	Tue Dec 25 14:08:56 2007 +0000
@@ -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>