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

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

SVN-Revision: 37183
lede-17.01
Felix Fietkau 2013-07-06 14:49:08 +00:00
parent 09551cd7c3
commit 0c10f3911d
1 changed files with 2 additions and 0 deletions

View File

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