Fixes warning with xserver 1.20 and gcc 8.2: nv_driver.c:1443:9: warning: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Wimplicit-function-declaration] ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX, ^~~~~~~~~~~~~ fbScreenInit (See xserver 706e6d9cd074da606016ed4ecff51e9c2a822087) Signed-off-by: Rhys Kidd <rhyskidd@xxxxxxxxx> --- src/nv_include.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nv_include.h b/src/nv_include.h index de55570..6fdeeab 100644 --- a/src/nv_include.h +++ b/src/nv_include.h @@ -38,6 +38,7 @@ #include "dixstruct.h" #include "scrnintstr.h" +#define FB_ACCESS_WRAPPER #include "fb.h" #include "xf86cmap.h" -- 2.19.1 _______________________________________________ Nouveau mailing list Nouveau@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/nouveau