Selaa lähdekoodia

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.
Rich Felker 10 vuotta sitten
vanhempi
sitoutus
7faee5fa0d
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      arch/sh/reloc.h

+ 2 - 0
arch/sh/reloc.h

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