From a831609e63cc64439229968e825d9ff65f55b560 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Tue, 19 Mar 2013 15:41:37 +0100 Subject: [PATCH] ecore: include mman.h also when Evil is found. I don't really like this patch. I think it would be nicer to have mmap been correctly detected when Evil or Exotic is there, but at this point I don't feel at ease with configure.ac. --- src/lib/ecore/ecore.c | 2 +- src/lib/ecore_evas/ecore_evas.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index 4756672881..4efb5631af 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c @@ -15,7 +15,7 @@ # include #endif -#ifdef HAVE_SYS_MMAN_H +#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL) # include #endif diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 247b189892..e22ab33e07 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -13,7 +13,7 @@ # include #endif -#ifdef HAVE_SYS_MMAN_H +#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL) # include #endif