derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ccc4ffc80d0ca401dd58fc4fc573ab110f5cbd8e

commit ccc4ffc80d0ca401dd58fc4fc573ab110f5cbd8e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Aug 14 16:27:24 2017 -0500

    wayland: Make the wayland evas engines dependent on ecore_wl2
    
    Seems like the best place to put some common code.
---
 src/Makefile_Evas.am                                          | 4 ++++
 src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 37e1167829..adac717ab6 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -1239,9 +1239,11 @@ modules_evas_engines_wayland_egl_module_la_CPPFLAGS = 
-I$(top_builddir)/src/lib/
 -I$(top_srcdir)/src/modules/evas/engines/wayland_egl \
 -I$(top_srcdir)/src/modules/evas/engines/wayland_common \
 @EVAS_CFLAGS@ \
+@ECORE_WL2_CFLAGS@ \
 @evas_engine_wayland_egl_cflags@
 modules_evas_engines_wayland_egl_module_la_LIBADD = \
 @USE_EVAS_LIBS@ \
+@USE_ECORE_WL2_LIBS@ \
 @evas_engine_wayland_egl_libs@
 modules_evas_engines_wayland_egl_module_la_DEPENDENCIES = 
@USE_EVAS_INTERNAL_LIBS@
 modules_evas_engines_wayland_egl_module_la_LDFLAGS = -module 
@EFL_LTMODULE_FLAGS@
@@ -1294,9 +1296,11 @@ modules_evas_engines_wayland_shm_module_la_CPPFLAGS = 
-I$(top_builddir)/src/lib/
 -I$(top_srcdir)/src/static_libs/libdrm \
 -I$(top_srcdir)/src/modules/evas/engines/wayland_common \
 @EVAS_CFLAGS@ \
+@ECORE_WL2_CFLAGS@ \
 @evas_engine_wayland_shm_cflags@
 modules_evas_engines_wayland_shm_module_la_LIBADD = \
 @USE_EVAS_LIBS@ \
+@USE_ECORE_WL2_LIBS@ \
 @evas_engine_wayland_shm_libs@
 modules_evas_engines_wayland_shm_module_la_DEPENDENCIES = 
@USE_EVAS_INTERNAL_LIBS@
 modules_evas_engines_wayland_shm_module_la_LDFLAGS = -module 
@EFL_LTMODULE_FLAGS@
diff --git a/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h 
b/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h
index 0722339a0a..4a3ca6b690 100644
--- a/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h
+++ b/src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h
@@ -1,6 +1,8 @@
 #ifndef _EVAS_ENGINE_WAYLAND_COMMON_H
 # define _EVAS_ENGINE_WAYLAND_COMMON_H
 
+#include "Ecore_Wl2.h"
+
 typedef struct _Evas_Engine_Info_Wayland Evas_Engine_Info_Wayland;
 
 struct _Evas_Engine_Info_Wayland

-- 


Reply via email to