summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
commit0922506f4c4627e4a0b6041c3569656e5314e937 (patch)
treeb46e75535c00ae08d6dc921ef5f3cc2b3fc682ae
parent2e5ad88716038229563e0682b2665f156aab0d33 (diff)
tga: change to using ABI version check
-rw-r--r--src/tga_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tga_driver.c b/src/tga_driver.c
index 069fdc6..5f7752b 100644
--- a/src/tga_driver.c
+++ b/src/tga_driver.c
@@ -38,7 +38,7 @@
#include "xf86PciInfo.h"
#include "xf86Pci.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif