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
commite29477ef4d4ae50c39ef608ad0e2344c5c68ed40 (patch)
tree7b7ff15616031621702f6b8a43b78873d5d37622
parent26ca92acc58b74202ec5eacaffc8e418d878da5e (diff)
mga: change to using ABI version check
-rw-r--r--src/mga_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 1d0eb8e..e0b724b 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -53,7 +53,7 @@
#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