summaryrefslogtreecommitdiff
path: root/src/gx_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
commitcab8435d8aef852c4cb1ab71285fa020dcbd7a68 (patch)
tree246ec8234f612ad51181716c264e56a9c05c82b4 /src/gx_driver.c
parenta22b16c0dc757c940461f26bc6e1802b53e860c5 (diff)
geode: change to using ABI version check
Diffstat (limited to 'src/gx_driver.c')
-rw-r--r--src/gx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gx_driver.c b/src/gx_driver.c
index edc5045..f526326 100644
--- a/src/gx_driver.c
+++ b/src/gx_driver.c
@@ -35,7 +35,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#include "xf86cmap.h"