summaryrefslogtreecommitdiff
path: root/src/nv_include.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nv_include.h')
-rw-r--r--src/nv_include.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nv_include.h b/src/nv_include.h
index b579b37..4442621 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -8,7 +8,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 */
@@ -29,8 +33,6 @@
#include "vbe.h"
-#include "xf86RAC.h"
-
#include "nv_const.h"
#include "dixstruct.h"