summaryrefslogtreecommitdiff
path: root/src/riva_include.h
diff options
context:
space:
mode:
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"