r128: change to using ABI version check

This commit is contained in:
Dave Airlie
2009-07-28 15:22:41 +10:00
parent e3568b4e5d
commit d519ef9adc
2 changed files with 6 additions and 2 deletions

View File

@@ -87,7 +87,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86PciInfo.h"
#ifndef XSERVER_LIBPCIACCESS
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86RAC.h"
#include "xf86Resources.h"
#endif

View File

@@ -46,8 +46,12 @@
#include "xf86.h"
#include "xf86PciInfo.h"
#ifndef XSERVER_LIBPCIACCESS
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#ifndef XSERVER_LIBPCIACCESS
static Bool R128Probe(DriverPtr drv, int flags);
#endif