summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/include/endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/endian.h b/tools/include/endian.h
index 9bfc652b9..25d100de3 100644
--- a/tools/include/endian.h
+++ b/tools/include/endian.h
@@ -2,6 +2,7 @@
#define __endian_compat_h
#if defined(__linux__)
+#include <byteswap.h>
#include_next <endian.h>
#elif defined(__APPLE__)
#include <machine/endian.h>