summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-04-29 13:05:49 +0000
committerUoti Urpala <uau@mplayer2.org>2011-06-29 05:28:58 +0300
commit6283d4d6bb65e75041da638cb5532af9581ec1a8 (patch)
tree89d78e88d3bbe19ac765e5281d2465eaedb0bc8b /libao2
parent38fa9f6d361ac37eb90b04c69b36b8daa1f862b1 (diff)
downloadmpv-6283d4d6bb65e75041da638cb5532af9581ec1a8.tar.bz2
mpv-6283d4d6bb65e75041da638cb5532af9581ec1a8.tar.xz
Windows: ao_pcm: add io.h include for MinGW64
On MinGW64 io.h is needed for _get_osfhandle(). patch by Stephen Sheldon, sfsheldo gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33341 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c
index eefe6b9433..f9aef15fd1 100644
--- a/libao2/ao_pcm.c
+++ b/libao2/ao_pcm.c
@@ -37,6 +37,7 @@
#ifdef __MINGW32__
// for GetFileType to detect pipes
#include <windows.h>
+#include <io.h>
#endif
struct priv {