tools: include endian.h from byteswap.h to ensure that bswap_* is available
[openwrt/svn-archive/archive.git] / tools / include / byteswap.h
index fe279ce..015f097 100644 (file)
@@ -1,3 +1,5 @@
 #if defined(__linux__) || defined(__CYGWIN__) 
 #include_next <byteswap.h>
+#else
+#include <endian.h>
 #endif