aboutsummaryrefslogtreecommitdiffstats
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 9bfc652b90..25d100de32 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>