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 <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Miguel A. Vico <mvicomoya@nvidia.com>
This commit is contained in:
Emil Velikov 2017-09-28 18:09:48 +01:00 committed by Emil Velikov
parent 198af27c67
commit 860deb4191

View file

@ -43,6 +43,8 @@ extern "C" {
#define WL_EGL_WINDOW_VERSION 3
struct wl_surface;
struct wl_egl_window {
const intptr_t version;