From fb54388e4282edccd095c147f52bd56827035b96 Mon Sep 17 00:00:00 2001
From: sezero <sezero@users.sourceforge.net>
Date: Sun, 22 Jan 2017 11:11:12 +0300
Subject: [PATCH 3/9] share/compat.h: add __OS2__ to list of cpp checks for
 io.h and fcntl.h

---
 include/share/compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/share/compat.h b/include/share/compat.h
index 4e59b3a..90f8d70 100644
--- a/include/share/compat.h
+++ b/include/share/compat.h
@@ -102,7 +102,7 @@
 #define FLAC__STRNCASECMP strncasecmp
 #endif
 
-#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__
+#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__ || defined __OS2__
 #include <io.h> /* for _setmode(), chmod() */
 #include <fcntl.h> /* for _O_BINARY */
 #else
-- 
1.8.5.5

