From 860deb4191cd8eb78443e9fcbc679714dfe9e10e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 28 Sep 2017 18:09:48 +0100 Subject: [PATCH] wayland-egl: forward declare struct wl_surface It makes the header self-contained and with later commit we'll remove the unnecessary wayland-client.h include. Signed-off-by: Emil Velikov Reviewed-by: Daniel Stone Reviewed-by: Miguel A. Vico --- src/egl/wayland/wayland-egl/wayland-egl-backend.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/egl/wayland/wayland-egl/wayland-egl-backend.h b/src/egl/wayland/wayland-egl/wayland-egl-backend.h index 3b59908cc16..a2c8656580b 100644 --- a/src/egl/wayland/wayland-egl/wayland-egl-backend.h +++ b/src/egl/wayland/wayland-egl/wayland-egl-backend.h @@ -43,6 +43,8 @@ extern "C" { #define WL_EGL_WINDOW_VERSION 3 +struct wl_surface; + struct wl_egl_window { const intptr_t version; -- 2.30.2