summaryrefslogtreecommitdiff
path: root/tools/include/endian.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-14 23:12:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-14 23:12:29 +0000
commitb343519d296bcb22c014429a354e814a884c601e (patch)
tree94280a44734e94088f289c921f288f60f7adcb69 /tools/include/endian.h
parent6bbd6d2ef6460f02d3e8e5a2e326adc8481ebfa2 (diff)
downloadmtk-20170518-b343519d296bcb22c014429a354e814a884c601e.zip
mtk-20170518-b343519d296bcb22c014429a354e814a884c601e.tar.gz
mtk-20170518-b343519d296bcb22c014429a354e814a884c601e.tar.bz2
fix sstrip linux compile
SVN-Revision: 5104
Diffstat (limited to 'tools/include/endian.h')
-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 9bfc652..25d100d 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>