Fixed compile if we do not have the xf86vidmode extension.

This commit is contained in:
Marcus Meissner 2001-05-18 20:59:22 +00:00 committed by Alexandre Julliard
parent 657d9f9ca8
commit b30d59dcdf

View File

@ -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"
@ -24,6 +22,8 @@
DEFAULT_DEBUG_CHANNEL(x11drv);
#ifdef HAVE_LIBXXF86VM
static int xf86vm_event, xf86vm_error, xf86vm_major, xf86vm_minor;
LPDDHALMODEINFO xf86vm_modes;