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:
parent
fe8d052279
commit
7a5e47a69b
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
#if defined(__linux__) || defined(__CYGWIN__)
|
||||
#include_next <byteswap.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue