summaryrefslogtreecommitdiff
path: root/src/savage_driver.h
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
commit21f6bf3e492d328b8c7003ffb0c9deec0113fb05 (patch)
tree342b7e776e2c91237ff97dafc2c2b85e0cdd17e6 /src/savage_driver.h
parent3c0b164ffe9e1f582cee43f89a94fc0a2899bed8 (diff)
savage: change to using ABI version check
Diffstat (limited to 'src/savage_driver.h')
-rw-r--r--src/savage_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index 34dfced..9c0ba58 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -51,7 +51,7 @@
#include "compiler.h"
#include "vgaHW.h"
#include "xf86.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif
#include "xf86Pci.h"