about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-24 11:06:11 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-24 11:06:11 -0400
commit7faee5fa0d09a1d3a64141ee597ed9a853fd5892 (patch)
treeb31501ca5875e1d6db0e2fcdb7889cf0a23decbd
parentabead1be6d4a303037ee65a4009c59e5b5fe0a82 (diff)
downloadmusl-7faee5fa0d09a1d3a64141ee597ed9a853fd5892.tar.gz
musl-7faee5fa0d09a1d3a64141ee597ed9a853fd5892.tar.xz
musl-7faee5fa0d09a1d3a64141ee597ed9a853fd5892.zip
fix failure of sh reloc.h to properly detect endianness for ldso name
versions of reloc.h that rely on endian macros much include endian.h
to ensure they are available.
-rw-r--r--arch/sh/reloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/reloc.h b/arch/sh/reloc.h
index e7e4b38f..61192ffe 100644
--- a/arch/sh/reloc.h
+++ b/arch/sh/reloc.h
@@ -1,3 +1,5 @@
+#include <endian.h>
+
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define ENDIAN_SUFFIX "eb"
 #else