summaryrefslogtreecommitdiff
path: root/src/nv_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/nv_include.h
parent957b8c1a240884b26ee5b91856c251622cc0b2a7 (diff)
nv: update for resources/RAC API removal
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"