aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/byteswap.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-27 17:03:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-27 17:03:36 +0000
commit3f01d0898e531322d9d935ad3f16a9d7599ff386 (patch)
tree383d10976ebfed64d1ca7a7d25bffd6635876626 /tools/include/byteswap.h
parenta723361df9cb4cb58d7e806218d98df72d57cdae (diff)
downloadmaster-187ad058-3f01d0898e531322d9d935ad3f16a9d7599ff386.tar.gz
master-187ad058-3f01d0898e531322d9d935ad3f16a9d7599ff386.tar.bz2
master-187ad058-3f01d0898e531322d9d935ad3f16a9d7599ff386.zip
add portability fixes for toolchain/tools (full tools/toolchain build works on osx now)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/include/byteswap.h')
-rw-r--r--tools/include/byteswap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/byteswap.h b/tools/include/byteswap.h
new file mode 100644
index 0000000000..61047167c3
--- /dev/null
+++ b/tools/include/byteswap.h
@@ -0,0 +1,3 @@
+#ifdef __linux__
+#include_next <byteswap.h>
+#endif