summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
commit6a5098d0f2439a2f2e338ab30fccc19032fae82a (patch)
tree80ccdf0024d58452d7f0fa395a72d480d73dafb7
parentec37c2ec027ebcaa3bf138c32e417821b78527b0 (diff)
i128: change to using ABI version check
-rw-r--r--src/i128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i128_driver.c b/src/i128_driver.c
index a9c83d4..903a3a8 100644
--- a/src/i128_driver.c
+++ b/src/i128_driver.c
@@ -31,7 +31,7 @@
/* All drivers should typically include these */
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif