wayland-drm: add wl_display/wl_resource forward declarations
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 1 Sep 2017 13:17:41 +0000 (14:17 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 19 Sep 2017 18:02:34 +0000 (19:02 +0100)
... making the header self-contained.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/wayland/wayland-drm/wayland-drm.h

index 38f711e067b87d495802477f9c5d024618813e62..77e8d27304245ad1ae2c71fb651f892e08554f0e 100644 (file)
@@ -3,7 +3,9 @@
 
 #include <wayland-server.h>
 
+struct wl_display;
 struct wl_drm;
+struct wl_resource;
 
 struct wl_drm_buffer {
        struct wl_resource *resource;