more cygwin related build fixes
[openwrt/staging/yousong.git] / tools / include / endian.h
index 25d100de324e547780ad8674fd54ce5837fe03ae..0f17b41da73f50aa21c2a51ac5695862c982db2f 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __endian_compat_h
 #define __endian_compat_h
 
-#if defined(__linux__)
+#if defined(__linux__) || defined(__CYGWIN__)
 #include <byteswap.h>
 #include_next <endian.h>
 #elif defined(__APPLE__)