Fix compilation on recent efl (read as: breackage)

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)
This commit is contained in:
Davide Andreoli 2018-02-09 20:20:17 +01:00
parent 2115f5aac5
commit 6db7ce49e5
1 changed files with 1 additions and 1 deletions

View File

@ -5,8 +5,8 @@
#ifdef HAVE_ELDBUS
#include <Eldbus.h>
#include <e.h>
#include <Eldbus.h>
#include "e_mod_main.h"
#include "e_mod_places.h"