On Tue, 2017-10-03 at 01:49 +0200, Tobias Klausmann wrote: > Starting with commit ab0589c6ed ("wayland-egl: remove no longer needed > wayland-client dependency") the wayland-egl.h include was missing leading to a > build failure: > > CC wayland-egl.lo > wayland-egl.c:33:10: fatal error: wayland-egl.h: Datei oder Verzeichnis nicht > gefunden
It would be good to have the error message in English in the commit log. > #include "wayland-egl.h" > ^~~~~~~~~~~~~~~ > > Signed-off-by: Tobias Klausmann <tobias.johannes.klausm...@mni.thm.de> > Fixes: ab0589c6ed ("swayland-egl: remove no longer needed wayland-client wayland-egl ---------^ > dependency") > --- > src/egl/wayland/wayland-egl/Makefile.am | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/egl/wayland/wayland-egl/Makefile.am > b/src/egl/wayland/wayland-egl/Makefile.am > index 08a6768049..730fd03ddb 100644 > --- a/src/egl/wayland/wayland-egl/Makefile.am > +++ b/src/egl/wayland/wayland-egl/Makefile.am > @@ -2,7 +2,8 @@ pkgconfigdir = $(libdir)/pkgconfig > pkgconfig_DATA = wayland-egl.pc > > AM_CFLAGS = $(DEFINES) \ > - $(VISIBILITY_CFLAGS) > + $(VISIBILITY_CFLAGS) \ > + $(WAYLAND_SERVER_CFLAGS) > > lib_LTLIBRARIES = libwayland-egl.la > noinst_HEADERS = wayland-egl-backend.h This doesn't seem the proper thing to do after removing the wayland- client dep and forward declaring the struct wl_surface. I think we should just remove the "wayland-egl.h" include and also forward declare the 4 functions: * wl_egl_window_resize * wl_egl_window_create * wl_egl_window_destroy * wl_egl_window_get_attached_size Otherwise, forward declaring the struct wl_surface is not needed either. Let's see what Emil thinks although this is a bit urgent right now since the built is broken ... -- Br, Andres _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev