From 6db7ce49e52f18b36831426d955cec89a9f258d7 Mon Sep 17 00:00:00 2001 From: Dave Andreoli Date: Fri, 9 Feb 2018 20:20:17 +0100 Subject: [PATCH] Fix compilation on recent efl (read as: breackage) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit without this change I'm getting tons of errors like: In file included from /usr/local/include/ecore-1/Ecore_Common.h:1039:0, from /usr/local/include/ecore-1/Ecore.h:329, from /usr/local/include/enlightenment/e.h:116, from e_mod_udisks_eldbus.c:9: /usr/local/include/ecore-1/ecore_exe.eo.h:103:20: error: unknown type name ‘Efl_Event_Description’ EWAPI extern const Efl_Event_Description _ECORE_EXE_EVENT_DATA_GET; and: /usr/local/include/ecore-1/efl_loop.eo.h:286:20: error: unknown type name ‘Efl_Event_Description’ EWAPI extern const Efl_Event_Description _EFL_LOOP_EVENT_POLL_HIGH; I think that swapping the includes make it work because e.h set BETA_API and that make eldbus happy. So seems (without too much investigation) that eldbus is broken for legacy app. (...me so tired to fixing legacy efl breackages) --- src/e_mod_udisks_eldbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e_mod_udisks_eldbus.c b/src/e_mod_udisks_eldbus.c index 4a3016a..e448361 100644 --- a/src/e_mod_udisks_eldbus.c +++ b/src/e_mod_udisks_eldbus.c @@ -5,8 +5,8 @@ #ifdef HAVE_ELDBUS -#include #include +#include #include "e_mod_main.h" #include "e_mod_places.h"