forked from enlightenment/efl
ecore: include header only when required.
SVN revision: 66563
This commit is contained in:
parent
0f1e337c55
commit
411b2b8676
|
@ -12,11 +12,13 @@
|
||||||
# define LOGFN(fl, ln, fn)
|
# define LOGFN(fl, ln, fn)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
# include <Eina.h>
|
# include <Eina.h>
|
||||||
# include <Evas.h>
|
# include <Evas.h>
|
||||||
|
@ -28,9 +30,7 @@
|
||||||
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
|
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
|
||||||
# include <Evas_Engine_Wayland_Shm.h>
|
# include <Evas_Engine_Wayland_Shm.h>
|
||||||
# include <Ecore_Wayland.h>
|
# include <Ecore_Wayland.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
|
|
||||||
/* local function prototypes */
|
/* local function prototypes */
|
||||||
static int _ecore_evas_wl_init(void);
|
static int _ecore_evas_wl_init(void);
|
||||||
static int _ecore_evas_wl_shutdown(void);
|
static int _ecore_evas_wl_shutdown(void);
|
||||||
|
|
Loading…
Reference in New Issue