summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>