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);