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
commitb5fabfc7f764c8d07c1d8a618e58ce73624d65ce (patch)
tree2bd9d2338f8e1040a23c940a7e66f738052a7ddb
parenta314fd6a6c98519967e47fc89d53e040c9842dba (diff)
ast: change to using ABI version check
-rw-r--r--src/ast_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 76da3f5..4b10055 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -25,7 +25,7 @@
#endif
#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