From b30d59dcdf332a8a65fd59c1da2ab9bd04d35c94 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 18 May 2001 20:59:22 +0000 Subject: [PATCH] Fixed compile if we do not have the xf86vidmode extension. --- dlls/x11drv/xvidmode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/x11drv/xvidmode.c b/dlls/x11drv/xvidmode.c index 60fb8049de6..68d438dd437 100644 --- a/dlls/x11drv/xvidmode.c +++ b/dlls/x11drv/xvidmode.c @@ -4,12 +4,10 @@ * Copyright 2001 TransGaming Technologies, Inc. */ -#include "config.h" -#include - /* FIXME: ChangeDisplaySettings ought to be able to use this */ -#ifdef HAVE_LIBXXF86VM +#include "config.h" +#include #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;