From 411b2b86764cb1f808bbf6cabf03b4a868f874e9 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 27 Dec 2011 10:10:47 +0000 Subject: [PATCH] ecore: include header only when required. SVN revision: 66563 --- legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c index 970cbb7ee4..d4f19c4769 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c @@ -12,11 +12,13 @@ # define LOGFN(fl, ln, fn) #endif +#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM # include # include # include # include # include +#endif # include # include @@ -28,9 +30,7 @@ #ifdef BUILD_ECORE_EVAS_WAYLAND_SHM # include # include -#endif -#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM /* local function prototypes */ static int _ecore_evas_wl_init(void); static int _ecore_evas_wl_shutdown(void);