summaryrefslogtreecommitdiff
path: root/src/cir_driver.c
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
commit4ecaa548a996475fbb4c6403698b2ecaf35e9d6b (patch)
tree83300532a92ba4213d4a14a5621090fa1375380c /src/cir_driver.c
parent2765aba56fe66038ab7de554474b8d30995f3ef0 (diff)
cirrus: change to using ABI version check
Diffstat (limited to 'src/cir_driver.c')
-rw-r--r--src/cir_driver.c2
1 files changed, 1 insertions, 1 deletions
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 */