summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-libctf-endian.patch
blob: a8cc1eaa25f845b0b283c1e3c9aae7bd1aa98e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: binutils.git/libctf/ctf-endian.h
===================================================================
--- binutils.git.orig/libctf/ctf-endian.h
+++ binutils.git/libctf/ctf-endian.h
@@ -32,6 +32,8 @@
 # define htole64(x) bswap_64 ((x))
 # define le64toh(x) bswap_64 ((x))
 #endif /* WORDS_BIGENDIAN */
+#else
+# include <endian.h>
 #endif /* !defined(HAVE_ENDIAN_H) */
 
 #endif /* !defined(_CTF_ENDIAN_H) */