summaryrefslogtreecommitdiff
path: root/src/riva_include.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 13:32:32 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 13:32:32 +1000
commit445498d2cc977b8c4f22fca881c75637dc7b058a (patch)
tree2eb98e3c3c2e920449c62dae7c5b2c242c9c8619 /src/riva_include.h
parent957b8c1a240884b26ee5b91856c251622cc0b2a7 (diff)
nv: update for resources/RAC API removal
Diffstat (limited to 'src/riva_include.h')
-rw-r--r--src/riva_include.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/riva_include.h b/src/riva_include.h
index 6726fcc..a2064e1 100644
--- a/src/riva_include.h
+++ b/src/riva_include.h
@@ -6,7 +6,11 @@
/* All drivers should typically include these */
#include "xf86.h"
#include "xf86_OSproc.h"
+
+#ifndef XSERVER_LIBPCIACCESS
#include "xf86Resources.h"
+#include "xf86RAC.h"
+#endif
#include "compiler.h"
/* Drivers for PCI hardware need this */
@@ -27,7 +31,6 @@
#include "vbe.h"
-#include "xf86RAC.h"
#include "riva_const.h"