summaryrefslogtreecommitdiffstats
path: root/tools/include/byteswap.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-27 17:03:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-27 17:03:36 +0000
commit652d9073459fce55104f0db8f64fc5b9100c979d (patch)
tree383d10976ebfed64d1ca7a7d25bffd6635876626 /tools/include/byteswap.h
parent44af1866aa41cfbbad48583106cb82201ded4fcb (diff)
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 000000000..61047167c
--- /dev/null
+++ b/tools/include/byteswap.h
@@ -0,0 +1,3 @@
+#ifdef __linux__
+#include_next <byteswap.h>
+#endif