summaryrefslogtreecommitdiff
path: root/thunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'thunk.h')
-rw-r--r--thunk.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/thunk.h b/thunk.h
index 5e5d9dd18d..a7338ad76a 100644
--- a/thunk.h
+++ b/thunk.h
@@ -2,7 +2,7 @@
#define THUNK_H
#include <inttypes.h>
-#include <endian.h>
+#include "config.h"
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
@@ -42,11 +42,6 @@
#endif
-#undef WORDS_BIGENDIAN
-#if __BYTE_ORDER == __BIG_ENDIAN
-#define WORDS_BIGENDIAN
-#endif
-
#ifdef WORDS_BIGENDIAN
#define BSWAP_NEEDED
#endif