diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-28 15:22:40 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-28 15:22:40 +1000 |
commit | 4f08e83e50059df494f5f53cd05eb8809d18656e (patch) | |
tree | e1c0f4f2ea59479263cdc3e725ad15d712625c03 | |
parent | 64960253ea5dcfb01d92b5b684790f16be5b73be (diff) |
mach64: change to using ABI version check
-rw-r--r-- | src/atipreinit.c | 2 | ||||
-rw-r--r-- | src/atistruct.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c index 6c742fd..34b851c 100644 --- a/src/atipreinit.c +++ b/src/atipreinit.c @@ -52,7 +52,7 @@ #include "atixv.h" #include "vbe.h" -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86RAC.h" #endif diff --git a/src/atistruct.h b/src/atistruct.h index ac76b1f..5225256 100644 --- a/src/atistruct.h +++ b/src/atistruct.h @@ -59,7 +59,7 @@ #endif #include "xf86Cursor.h" #include "xf86Pci.h" -#ifndef XSERVER_LIBPCIACCESS +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86Resources.h" #endif |