mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: shut up vgaarb warnings when server doesn't support it
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#include "xorg-config.h"
|
||||
|
||||
#include "xf86VGAarbiter.h"
|
||||
|
||||
#ifdef HAVE_PCI_DEVICE_VGAARB_INIT
|
||||
#include "xf86VGAarbiterPriv.h"
|
||||
#include "xf86Bus.h"
|
||||
#include "pciaccess.h"
|
||||
@@ -44,8 +46,6 @@
|
||||
#define DPRINT(x)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PCI_DEVICE_VGAARB_INIT
|
||||
|
||||
static GCFuncs VGAarbiterGCFuncs = {
|
||||
VGAarbiterValidateGC, VGAarbiterChangeGC, VGAarbiterCopyGC,
|
||||
VGAarbiterDestroyGC, VGAarbiterChangeClip, VGAarbiterDestroyClip,
|
||||
|
||||
Reference in New Issue
Block a user