From 66b4ff408e70b548aad1234ef400505799be7bc2 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 3 Aug 2016 11:30:58 +0200 Subject: [PATCH] e_alert: define EFL_BETA_API_SUPPORT before any include otherwise we can include half efl without api and the other parts with beta api support, which leads to problems. The current problem was that Eo.h was first included without the EFL_BETA_API_SUPPORT, in Evas.h EFL_BETA_API_SUPPORT is defined, so the header expects Eo_Callback_Priority to be defined. @fix --- src/bin/e_alert_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c index b2bcd3c54..c0cb3c6d7 100644 --- a/src/bin/e_alert_main.c +++ b/src/bin/e_alert_main.c @@ -1,5 +1,9 @@ #include "config.h" +#ifdef HAVE_DRM2 +# define EFL_BETA_API_SUPPORT +#endif + #include #include #include @@ -19,7 +23,6 @@ # ifdef HAVE_WL_DRM # include # ifdef HAVE_DRM2 -# define EFL_BETA_API_SUPPORT # include # include # else