From: Emil Velikov <[email protected]>

It makes the header self-contained and with next commit we'll remove the
unnessesary wayland-client.h include.

Signed-off-by: Emil Velikov <[email protected]>
---
 egl/wayland-egl-priv.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/egl/wayland-egl-priv.h b/egl/wayland-egl-priv.h
index 2b4ed36..ada5226 100644
--- a/egl/wayland-egl-priv.h
+++ b/egl/wayland-egl-priv.h
@@ -47,6 +47,8 @@ extern "C" {
  */
 #define WL_EGL_WINDOW_VERSION 3
 
+struct wl_surface;
+
 struct wl_egl_window {
        const intptr_t version;
 
-- 
2.14.1

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to