[PATCH xf86-video-nouveau v2] Fix building on older servers without xf86platformBus.h

Hans de Goede hdegoede at redhat.com
Fri Apr 11 07:57:57 PDT 2014


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 src/nv_type.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nv_type.h b/src/nv_type.h
index 6ee36d7..736162f 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -8,7 +8,6 @@
 #include <stdbool.h>
 #include <stdint.h>
 #include "xf86Crtc.h"
-#include "xf86platformBus.h"
 
 #if XF86_CRTC_VERSION >= 5
 #define NOUVEAU_PIXMAP_SHARING 1
@@ -24,6 +23,8 @@
 #define NV_ARCH_C0  0xc0
 #define NV_ARCH_E0  0xe0
 
+struct xf86_platform_device;
+
 /* NV50 */
 typedef struct _NVRec *NVPtr;
 
-- 
1.9.0



More information about the xorg-devel mailing list