[PATCH] xf86: include xf86platformBus.h in xf86AutoConfig.c

Dave Airlie airlied at gmail.com
Thu Jul 12 07:29:04 PDT 2012


This fixes an implicit declaration,
xf86AutoConfig.c:202:5: error: implicit declaration of function 'xf86PlatformMatchDriver' [-Werror=implicit-function-declaration]
xf86AutoConfig.c:202:5: warning: nested extern declaration of 'xf86PlatformMatchDriver' [-Wnested-externs]

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 hw/xfree86/common/xf86AutoConfig.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index 271ce86..95d58fe 100644
--- a/hw/xfree86/common/xf86AutoConfig.c
+++ b/hw/xfree86/common/xf86AutoConfig.c
@@ -39,6 +39,7 @@
 #include "xf86Config.h"
 #include "xf86Priv.h"
 #include "xf86_OSlib.h"
+#include "xf86platformBus.h"
 #include "xf86pciBus.h"
 #ifdef __sparc__
 #include "xf86sbusBus.h"
-- 
1.7.10.4



More information about the xorg-devel mailing list