summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-09-01 14:17:41 +0100
committerEmil Velikov <[email protected]>2017-09-19 19:02:34 +0100
commit0007195d8114c5028395de208d45e5c429c12851 (patch)
tree3370a62e9407ee518f02455a557bd5af57662eed
parentfa6b9be22c7a85a8766a31411caafdbe1694d7dc (diff)
wayland-drm: add wl_display/wl_resource forward declarations
... making the header self-contained. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
index 38f711e067b..77e8d273042 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.h
+++ b/src/egl/wayland/wayland-drm/wayland-drm.h
@@ -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;