Commit b30d59dc authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed compile if we do not have the xf86vidmode extension.

parent 657d9f9c
...@@ -4,12 +4,10 @@ ...@@ -4,12 +4,10 @@
* Copyright 2001 TransGaming Technologies, Inc. * Copyright 2001 TransGaming Technologies, Inc.
*/ */
#include "config.h"
#include <string.h>
/* FIXME: ChangeDisplaySettings ought to be able to use this */ /* FIXME: ChangeDisplaySettings ought to be able to use this */
#ifdef HAVE_LIBXXF86VM #include "config.h"
#include <string.h>
#include "ts_xlib.h" #include "ts_xlib.h"
#include "ts_xf86vmode.h" #include "ts_xf86vmode.h"
...@@ -24,6 +22,8 @@ ...@@ -24,6 +22,8 @@
DEFAULT_DEBUG_CHANNEL(x11drv); DEFAULT_DEBUG_CHANNEL(x11drv);
#ifdef HAVE_LIBXXF86VM
static int xf86vm_event, xf86vm_error, xf86vm_major, xf86vm_minor; static int xf86vm_event, xf86vm_error, xf86vm_major, xf86vm_minor;
LPDDHALMODEINFO xf86vm_modes; LPDDHALMODEINFO xf86vm_modes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment