ecore: include header only when required.

SVN revision: 66563
This commit is contained in:
Cedric BAIL 2011-12-27 10:10:47 +00:00
parent 0f1e337c55
commit 411b2b8676
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,13 @@
# define LOGFN(fl, ln, fn)
#endif
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
# include <stdlib.h>
# include <string.h>
# include <unistd.h>
# include <sys/types.h>
# include <sys/mman.h>
#endif
# include <Eina.h>
# include <Evas.h>
@ -28,9 +30,7 @@
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
# include <Evas_Engine_Wayland_Shm.h>
# include <Ecore_Wayland.h>
#endif
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
/* local function prototypes */
static int _ecore_evas_wl_init(void);
static int _ecore_evas_wl_shutdown(void);