[Mesa-dev] [PATCH 4/7] wayland-egl: remove no longer needed wayland-client dependency

Emil Velikov emil.l.velikov at gmail.com
Fri Sep 29 12:14:39 UTC 2017


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

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

Cc: Daniel Stone <daniels at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/egl/wayland/wayland-egl/Makefile.am           | 3 +--
 src/egl/wayland/wayland-egl/wayland-egl-backend.h | 1 -
 src/egl/wayland/wayland-egl/wayland-egl.c         | 1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/egl/wayland/wayland-egl/Makefile.am b/src/egl/wayland/wayland-egl/Makefile.am
index 7dde9552f33..08a67680498 100644
--- a/src/egl/wayland/wayland-egl/Makefile.am
+++ b/src/egl/wayland/wayland-egl/Makefile.am
@@ -2,8 +2,7 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = wayland-egl.pc
 
 AM_CFLAGS = $(DEFINES) \
-	    $(VISIBILITY_CFLAGS) \
-	    $(WAYLAND_CLIENT_CFLAGS)
+	    $(VISIBILITY_CFLAGS)
 
 lib_LTLIBRARIES = libwayland-egl.la
 noinst_HEADERS = wayland-egl-backend.h
diff --git a/src/egl/wayland/wayland-egl/wayland-egl-backend.h b/src/egl/wayland/wayland-egl/wayland-egl-backend.h
index 4730147ff3c..c7b79ec839a 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl-backend.h
+++ b/src/egl/wayland/wayland-egl/wayland-egl-backend.h
@@ -36,7 +36,6 @@
 #endif
 
 #include <stdint.h>
-#include <wayland-client.h>
 
 #ifdef  __cplusplus
 extern "C" {
diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/wayland/wayland-egl/wayland-egl.c
index 575f94db498..e5a26ffad27 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl.c
+++ b/src/egl/wayland/wayland-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-backend.h"
 
-- 
2.14.1



More information about the mesa-dev mailing list