diff options
-rw-r--r-- | include/share/compat.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/share/compat.h b/include/share/compat.h index 88caf1ee..222de658 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -93,13 +93,9 @@ #define FLAC__STRNCASECMP strncasecmp #endif -#if defined _MSC_VER || defined __MINGW32__ +#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__ #include <io.h> /* for _setmode(), chmod() */ #include <fcntl.h> /* for _O_BINARY */ -#endif -#if defined __CYGWIN__ || defined __EMX__ -#include <io.h> /* for setmode(), chmod() */ -#include <fcntl.h> /* for _O_BINARY */ #else #include <unistd.h> /* for chown(), unlink() */ #endif |