summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-09-28 18:09:48 +0100
committerEmil Velikov <[email protected]>2017-10-02 16:29:38 +0100
commit860deb4191cd8eb78443e9fcbc679714dfe9e10e (patch)
tree327e31fb8312291ca35558b9bb57096716f8415f
parent198af27c679c0cabbb8747dd23fed5bd68bfdee2 (diff)
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 <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Reviewed-by: Miguel A. Vico <[email protected]>
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl-backend.h2
1 files changed, 2 insertions, 0 deletions
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;