discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=a63193a9e751b68569e3ab4c0be6d28a1dfa08ef
commit a63193a9e751b68569e3ab4c0be6d28a1dfa08ef Author: Marcel Hollerbach <[email protected]> Date: Wed Aug 3 11:30:58 2016 +0200 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 b2bcd3c..c0cb3c6 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 <stdio.h> #include <stdlib.h> #include <stdarg.h> @@ -19,7 +23,6 @@ # ifdef HAVE_WL_DRM # include <Ecore_Input.h> # ifdef HAVE_DRM2 -# define EFL_BETA_API_SUPPORT # include <drm_fourcc.h> # include <Ecore_Drm2.h> # else --
