diff options
Diffstat (limited to 'debian/patches/dyson-libctf-endian.patch')
-rw-r--r-- | debian/patches/dyson-libctf-endian.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/dyson-libctf-endian.patch b/debian/patches/dyson-libctf-endian.patch new file mode 100644 index 0000000..a8cc1ea --- /dev/null +++ b/debian/patches/dyson-libctf-endian.patch @@ -0,0 +1,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) */ |