summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormplayer-svn <svn@mplayerhq.hu>2012-05-21 20:08:01 +0000
committerwm4 <wm4@nowhere>2012-08-03 03:34:38 +0200
commit772d93c81ae3086d8db42cd1847bdb337fa9c28f (patch)
treeb69c8c3209e1d9a5f72f87fe7fd810637c9ae330 /configure
parent063f368398aeeb0cfc94ed4e47acbd012fd25100 (diff)
downloadmpv-772d93c81ae3086d8db42cd1847bdb337fa9c28f.tar.bz2
mpv-772d93c81ae3086d8db42cd1847bdb337fa9c28f.tar.xz
configure: fix directx check on Cygwin
build: Fix vo directx configure check on Cygwin Without windows.h included syntax errors will arise inside (some versions of) the ddraw.h header. The wine-based ddraw.h header was reported to not have this problems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34953 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: al
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index eba6ee3c97..9c358f3416 100755
--- a/configure
+++ b/configure
@@ -2703,6 +2703,7 @@ echores "$_direct3d"
echocheck "Directx"
if test "$_directx" = auto ; then
cat > $TMPC << EOF
+#include <windows.h>
#include <ddraw.h>
#include <dsound.h>
int main(void) { return 0; }