openwrt/tools/include/byteswap.h
Felix Fietkau 0c10f3911d tools: include endian.h from byteswap.h to ensure that bswap_* is available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37183
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