mirror of
https://github.com/X11Libre/xf86-video-r128.git
synced 2026-03-24 01:24:26 +00:00
r128: change to using ABI version check
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user