[Openchrome-devel] xf86-video-openchrome: src/via_driver.h

Kevin Brace kevinbrace at kemper.freedesktop.org
Mon Jun 20 06:22:39 UTC 2016

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

New commits:
commit ae62ee78bf6aa7b8f3ba642fc8d5ff55947b5741
Author: Kevin Brace <kevinbrace at 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 <bensberg at justemail.net>
    Tested-by: Xavier Bachelot <xavier at bachelot.org>
    Signed-off-by: Kevin Brace <kevinbrace at 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"

More information about the Openchrome-devel mailing list