projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abead1b
)
fix failure of sh reloc.h to properly detect endianness for ldso name
author
Rich Felker
<dalias@aerifal.cx>
Fri, 24 Apr 2015 15:06:11 +0000
(11:06 -0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/arch/sh/reloc.h
b/arch/sh/reloc.h
index e7e4b38f125bf7eef53b421924f72bcfe309a340..61192ffe766863fcd82596eb5673ad8c6df761a1 100644
(file)
--- 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