From: Emil Velikov <[email protected]>

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

Cc: Daniel Stone <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 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.14.1

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

Reply via email to