diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-06 14:49:08 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-07-06 14:49:08 +0000 |
commit | 7a5e47a69bdd1637bce7ffaf54a087c42e672cc2 (patch) | |
tree | 5e39358414c74ddae185402e49102d7ac195974c | |
parent | fe8d052279ca6c2e5511c51a255bd3dc46dc64c8 (diff) |
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
-rw-r--r-- | tools/include/byteswap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/byteswap.h b/tools/include/byteswap.h index fe279ceb2c..015f09740a 100644 --- a/tools/include/byteswap.h +++ b/tools/include/byteswap.h @@ -1,3 +1,5 @@ #if defined(__linux__) || defined(__CYGWIN__) #include_next <byteswap.h> +#else +#include <endian.h> #endif |