]> granicus.if.org Git - musl/commitdiff
fix failure of sh reloc.h to properly detect endianness for ldso name
authorRich Felker <dalias@aerifal.cx>
Fri, 24 Apr 2015 15:06:11 +0000 (11:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 24 Apr 2015 15:06:11 +0000 (11:06 -0400)
versions of reloc.h that rely on endian macros much include endian.h
to ensure they are available.

arch/sh/reloc.h

index e7e4b38f125bf7eef53b421924f72bcfe309a340..61192ffe766863fcd82596eb5673ad8c6df761a1 100644 (file)
@@ -1,3 +1,5 @@
+#include <endian.h>
+
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define ENDIAN_SUFFIX "eb"
 #else