winex11: choose header exclusiv

André Hentschel nerv at dawncrow.de
Sat Oct 2 08:08:47 CDT 2010


fixes http://bugs.winehq.org/show_bug.cgi?id=24598
---
 dlls/winex11.drv/xvidmode.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/winex11.drv/xvidmode.c b/dlls/winex11.drv/xvidmode.c
index abc8a30..9d73d92 100644
--- a/dlls/winex11.drv/xvidmode.c
+++ b/dlls/winex11.drv/xvidmode.c
@@ -29,8 +29,7 @@
 
 #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
 #include <X11/extensions/xf86vmode.h>
-#endif
-#ifdef HAVE_X11_EXTENSIONS_XF86VMPROTO_H
+#elif defined (HAVE_X11_EXTENSIONS_XF86VMPROTO_H)
 #include <X11/extensions/xf86vmproto.h>
 #endif
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list