OSDN Git Service

Windows/Cygwin: Add support through the WinIo library
[android-x86/external-libpciaccess.git] / src / common_interface.c
index 3425edc..59778cf 100644 (file)
@@ -36,7 +36,7 @@
 #include "pciaccess.h"
 #include "pciaccess_private.h"
 
-#if defined(__linux__) || defined(__GLIBC__)
+#if defined(__linux__) || defined(__GLIBC__) || defined(__CYGWIN__)
 #include <byteswap.h>
 
 #if __BYTE_ORDER == __BIG_ENDIAN