[Mesa-dev] [PATCH 5/9] wayland-drm: add wl_display/wl_resource forward declarations

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 7 18:05:02 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

... making the header self-contained.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/egl/wayland/wayland-drm/wayland-drm.h | 2 ++
 1 file changed, 2 insertions(+)

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;
-- 
2.14.1



More information about the mesa-dev mailing list