wayland-egl: forward declare struct wl_surface
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 28 Sep 2017 17:09:48 +0000 (18:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 2 Oct 2017 15:29:38 +0000 (16:29 +0100)
It makes the header self-contained and with later commit we'll remove
the unnecessary wayland-client.h include.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Miguel A. Vico <mvicomoya@nvidia.com>
src/egl/wayland/wayland-egl/wayland-egl-backend.h

index 3b59908cc162d0094e6509a0b4932fb42b1fcf59..a2c8656580bb7f7d2b538d4358ff391e92e7da99 100644 (file)
@@ -43,6 +43,8 @@ extern "C" {
 
 #define WL_EGL_WINDOW_VERSION 3
 
+struct wl_surface;
+
 struct wl_egl_window {
        const intptr_t version;