summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 13:32:40 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 13:32:40 +1000
commitaad538f06852e5bf011597a574785d525ed1b0c4 (patch)
tree24d8c12634bc846a5be73483ee8d53924575f35b
parent49f6a2f902473692f6541ee32e018b64d74e7ece (diff)
vesa: update for resources/RAC API removal
-rw-r--r--src/vesa.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vesa.h b/src/vesa.h
index 1b8f4e5..11933f4 100644
--- a/src/vesa.h
+++ b/src/vesa.h
@@ -35,7 +35,11 @@
/* All drivers should typically include these */
#include "xf86.h"
#include "xf86_OSproc.h"
+
+#ifndef XSERVER_LIBPCIACCESS
#include "xf86Resources.h"
+#include "xf86RAC.h"
+#endif
/* All drivers need this */
@@ -66,8 +70,7 @@
/* Dga definitions */
#include "dgaproc.h"
-#include "xf86Resources.h"
-#include "xf86RAC.h"
+
#include "fb.h"