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.
This commit is contained in:
Rich Felker 2015-04-24 11:06:11 -04:00
parent abead1be6d
commit 7faee5fa0d
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#include <endian.h>
#if __BYTE_ORDER == __BIG_ENDIAN
#define ENDIAN_SUFFIX "eb"
#else