ramips: use COMMAND_LINE_SIZE directly
[openwrt.git] / tools / include / endian.h
index 9bfc652..0f17b41 100644 (file)
@@ -1,7 +1,8 @@
 #ifndef __endian_compat_h
 #define __endian_compat_h
 
 #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__)
 #include <machine/endian.h>
 #include_next <endian.h>
 #elif defined(__APPLE__)
 #include <machine/endian.h>
This page took 0.02077 seconds and 4 git commands to generate.