src/via_driver.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ae62ee78bf6aa7b8f3ba642fc8d5ff55947b5741
Author: Kevin Brace <kevinbr...@gmx.com>
Date:   Mon Jun 20 01:17:02 2016 -0500

    Fix for xf86InitFBManager implicit declaration warning
    
    Commit e73fa19 removed including xf86fbman.h when compiling
    via_ums.c, and as a result, if the code was compiled with a
    stricter warning compilation option, it will not be able to
    successfully compile the code due to it not being able to
    resolve the lack of xf86InitFBManager declaration. Including
    xf86fbman.h with via_driver.h resolves this problem.
    
    Reported-by: Benno Schulenberg <bensb...@justemail.net>
    Tested-by: Xavier Bachelot <xav...@bachelot.org>
    Signed-off-by: Kevin Brace <kevinbr...@gmx.com>

diff --git a/src/via_driver.h b/src/via_driver.h
index 1b67738..7b8a3e7 100644
--- a/src/via_driver.h
+++ b/src/via_driver.h
@@ -52,6 +52,7 @@
 #include "fb.h"
 
 #include "xf86Crtc.h"
+#include "xf86fbman.h"
 #include "xf86RandR12.h"
 #include "xf86cmap.h"
 
_______________________________________________
Openchrome-devel mailing list
Openchrome-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to