firmware-utils: mkfwimage: add -Wall, fix obvious bugs causing compile warnings
[openwrt/openwrt.git] / tools / include / byteswap.h
index fe279ceb2c040de1e07e40e979282f50a9ddaf39..015f09740ad6af7d0a2da4185e1532e0097f4196 100644 (file)
@@ -1,3 +1,5 @@
 #if defined(__linux__) || defined(__CYGWIN__) 
 #include_next <byteswap.h>
+#else
+#include <endian.h>
 #endif