summaryrefslogtreecommitdiff
path: root/src/atistruct.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 13:32:31 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 13:32:31 +1000
commit64960253ea5dcfb01d92b5b684790f16be5b73be (patch)
treecc243f58d94e2e889705a7d6893aec412352f966 /src/atistruct.h
parent965614f27d42106e859000264a6eb89d9fcba67e (diff)
mach64: update for resources/RAC API removal
Diffstat (limited to 'src/atistruct.h')
-rw-r--r--src/atistruct.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/atistruct.h b/src/atistruct.h
index b9f4d08..ac76b1f 100644
--- a/src/atistruct.h
+++ b/src/atistruct.h
@@ -59,7 +59,9 @@
#endif
#include "xf86Cursor.h"
#include "xf86Pci.h"
+#ifndef XSERVER_LIBPCIACCESS
#include "xf86Resources.h"
+#endif
#include "atipcirename.h"
@@ -269,9 +271,9 @@ typedef struct _ATIRec
CARD8 BusType;
#ifndef AVOID_CPIO
-
- resRange VGAWonderResources[2];
-
+#ifndef XSERVER_LIBPCIACCESS
+ resRange VGAWonderResources[2];
+#endif
#endif /* AVOID_CPIO */
/*