summaryrefslogtreecommitdiff
path: root/tools/include/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/byteswap.h')
-rw-r--r--tools/include/byteswap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/byteswap.h b/tools/include/byteswap.h
index fe279ce..015f097 100644
--- a/tools/include/byteswap.h
+++ b/tools/include/byteswap.h
@@ -1,3 +1,5 @@
#if defined(__linux__) || defined(__CYGWIN__)
#include_next <byteswap.h>
+#else
+#include <endian.h>
#endif