[RFC wayland 9/9] wayland-egl: remove no longer needed wayland-client.h include

Emil Velikov emil.l.velikov at gmail.com
Fri Sep 15 10:29:27 UTC 2017


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

Was used for wl_surface, which is opaque and forward declared with
earlier patch.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 egl/wayland-egl-priv.h | 1 -
 egl/wayland-egl.c      | 1 -
 2 files changed, 2 deletions(-)

diff --git a/egl/wayland-egl-priv.h b/egl/wayland-egl-priv.h
index 9e56fbe..15c95c1 100644
--- a/egl/wayland-egl-priv.h
+++ b/egl/wayland-egl-priv.h
@@ -36,7 +36,6 @@
 #endif
 
 #include <stdint.h>
-#include <wayland-client.h>
 
 #ifdef  __cplusplus
 extern "C" {
diff --git a/egl/wayland-egl.c b/egl/wayland-egl.c
index f16324c..4f63acc 100644
--- a/egl/wayland-egl.c
+++ b/egl/wayland-egl.c
@@ -30,7 +30,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <wayland-client.h>
 #include "wayland-egl.h"
 #include "wayland-egl-priv.h"
 
-- 
2.14.1



More information about the wayland-devel mailing list