Felix Fietkau 9bb3288ad5 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
2013-07-06 14:49:08 +00:00

6 lines
107 B
C

#if defined(__linux__) || defined(__CYGWIN__)
#include_next <byteswap.h>
#else
#include <endian.h>
#endif