elm: Try to fix build (linking failure)

This should expose the proper definition of EAPI before including
elm_widget.h, as elm modules call internal APIs from elementary.

Thanks Mykyta for the report!
This commit is contained in:
Jean-Philippe Andre 2017-05-22 13:25:30 +09:00
parent f47b03f7fa
commit 83a294664e
1 changed files with 3 additions and 3 deletions

View File

@ -21,6 +21,9 @@
#include <Eio.h>
// Evas internal EO APIs
#include "Evas_Internal.h"
#ifdef EAPI
# undef EAPI
#endif
@ -47,9 +50,6 @@
# endif
#endif /* ! _WIN32 */
// Evas internal EO APIs
#include "Evas_Internal.h"
#include "elm_widget.h"
#include "elm_access.eo.h"
#include "elm_code_private.h"