tools: include endian.h from byteswap.h to ensure that bswap_* is available

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37183 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2013-07-06 14:49:08 +00:00
parent e7e1252ca2
commit 9bb3288ad5

View File

@@ -1,3 +1,5 @@
#if defined(__linux__) || defined(__CYGWIN__)
#include_next <byteswap.h>
#else
#include <endian.h>
#endif