changeset 34865:a8b2db27349e

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.
author al
date Mon, 21 May 2012 20:08:01 +0000
parents 7af545739044
children c61cdfafa6d1
files configure
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon May 21 20:00:03 2012 +0000
+++ b/configure	Mon May 21 20:08:01 2012 +0000
@@ -5277,6 +5277,7 @@
 echocheck "Directx"
 if test "$_directx" = auto ; then
   cat > $TMPC << EOF
+#include <windows.h>
 #include <ddraw.h>
 #include <dsound.h>
 int main(void) { return 0; }