diff options
author | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2016-08-03 11:30:58 +0200 |
---|---|---|
committer | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2016-08-03 11:37:39 +0200 |
commit | 66b4ff408e70b548aad1234ef400505799be7bc2 (patch) | |
tree | eb5fc53dab8b447fc9c8b441498e209db5a9fadb | |
parent | 180abefc0c2cd8e094a508589493bc5883589518 (diff) | |
download | enlightenment-66b4ff408e70b548aad1234ef400505799be7bc2.tar.gz |
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
-rw-r--r-- | src/bin/e_alert_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c index b2bcd3c54d..c0cb3c6d7a 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 |