eglmesaext: add forward declaration for struct wl_buffers
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 12 Oct 2017 10:39:46 +0000 (11:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 Oct 2017 11:56:12 +0000 (12:56 +0100)
commit66ebdfbd44cb62c58a7711fb72566f07d801809a
tree99eea9a9883110ce9ee4e8ecba49ca208ad9e717
parenta14ecdab165101afcce6ce8b80003d57b7812c07
eglmesaext: add forward declaration for struct wl_buffers

The user does not need to know the specifics of the struct, as only a
pointer to it is used.

Just forward declare the struct making the header self-contained.

v2: Remove deprecation warning text/bugzilla - patch does no help there.

Cc: Greg V <greg@unrelenting.technology>
Fixes: 5cddb1ce3c9 ("wayland: Add an extension to create wl_buffers from
EGLImages")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
include/EGL/eglmesaext.h