diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-06 14:49:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-06 14:49:08 +0000 |
commit | 0c10f3911dfe532dc26e56d45460ed885281f695 (patch) | |
tree | 2a93078e065b477198770daf2a8e85fa40b4d512 /tools/include/byteswap.h | |
parent | 09551cd7c3bb4416fb41181df37e1860aa9c8681 (diff) | |
download | upstream-0c10f3911dfe532dc26e56d45460ed885281f695.tar.gz upstream-0c10f3911dfe532dc26e56d45460ed885281f695.tar.bz2 upstream-0c10f3911dfe532dc26e56d45460ed885281f695.zip |
tools: include endian.h from byteswap.h to ensure that bswap_* is available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37183
Diffstat (limited to 'tools/include/byteswap.h')
-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 |