summaryrefslogtreecommitdiff
path: root/src/g80_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r--src/g80_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c
index 17c85f0..9cc2bf2 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -29,7 +29,7 @@
#include <string.h>
#include <xf86_OSproc.h>
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include <xf86Resources.h>
#endif
#include <mipointer.h>