summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/alp_driver.c2
-rw-r--r--src/cir_driver.c2
-rw-r--r--src/lg_driver.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index c5c531d..fe81757 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -36,7 +36,7 @@
/* This driver needs to be modified to not use vgaHW for multihead operation */
#include "vgaHW.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86RAC.h"
#include "xf86Resources.h"
#endif
diff --git a/src/cir_driver.c b/src/cir_driver.c
index 758e2fb..5466c48 100644
--- a/src/cir_driver.c
+++ b/src/cir_driver.c
@@ -21,7 +21,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
/* All drivers need this */
diff --git a/src/lg_driver.c b/src/lg_driver.c
index 9d0850b..cfc3e65 100644
--- a/src/lg_driver.c
+++ b/src/lg_driver.c
@@ -39,7 +39,7 @@
/* This driver needs to be modified to not use vgaHW for multihead operation */
#include "vgaHW.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86RAC.h"
#include "xf86Resources.h"
#endif