diff options
-rw-r--r-- | src/radeon_driver.c | 2 | ||||
-rw-r--r-- | src/radeon_probe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 94886669..9d8bd39c 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -93,7 +93,7 @@ #include "xf86.h" #include "xf86_OSproc.h" #include "xf86RandR12.h" -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86RAC.h" #include "xf86Resources.h" #endif diff --git a/src/radeon_probe.c b/src/radeon_probe.c index 234d2929..d5f9a141 100644 --- a/src/radeon_probe.c +++ b/src/radeon_probe.c @@ -44,7 +44,7 @@ #include "atipcirename.h" #include "xf86.h" -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86Resources.h" #endif |