diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-28 15:22:41 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-28 15:22:41 +1000 |
commit | 21f6bf3e492d328b8c7003ffb0c9deec0113fb05 (patch) | |
tree | 342b7e776e2c91237ff97dafc2c2b85e0cdd17e6 | |
parent | 3c0b164ffe9e1f582cee43f89a94fc0a2899bed8 (diff) |
savage: change to using ABI version check
-rw-r--r-- | src/savage_driver.c | 2 | ||||
-rw-r--r-- | src/savage_driver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index e49c8c2..1566b47 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -42,7 +42,7 @@ #include <unistd.h> #include <errno.h> -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86RAC.h" #endif #include "shadowfb.h" 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" |