PATCH: xvidmode without xvidmode ext

Marcus Meissner marcus at jet.franken.de
Fri May 18 12:33:38 CDT 2001


Hi,

dlls/x11drv/xvidmode.c fails if we do not have the Xvidmode extension.

Reported by Newsgroup poster.

Changelog:
	Fixed compile if we do not have the xf86vidmode extension.

Index: dlls/x11drv/xvidmode.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xvidmode.c,v
retrieving revision 1.6
diff -u -r1.6 xvidmode.c
--- dlls/x11drv/xvidmode.c	2001/05/11 00:17:47	1.6
+++ dlls/x11drv/xvidmode.c	2001/05/18 18:37:38
@@ -4,12 +4,10 @@
  * Copyright 2001 TransGaming Technologies, Inc.
  */
 
-#include "config.h"
-#include <string.h>
-
 /* FIXME: ChangeDisplaySettings ought to be able to use this */
 
-#ifdef HAVE_LIBXXF86VM
+#include "config.h"
+#include <string.h>
 
 #include "ts_xlib.h"
 #include "ts_xf86vmode.h"
@@ -23,6 +21,8 @@
 #include "debugtools.h"
 
 DEFAULT_DEBUG_CHANNEL(x11drv);
+
+#ifdef HAVE_LIBXXF86VM
 
 static int xf86vm_event, xf86vm_error, xf86vm_major, xf86vm_minor;
 




More information about the wine-patches mailing list