aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-19 15:41:37 +0100
committerCedric BAIL <cedric.bail@samsung.com>2013-03-20 10:59:56 +0900
commita831609e63cc64439229968e825d9ff65f55b560 (patch)
tree716af8a8303f0d0a4bab436e01471aece9063974 /src/lib/ecore/ecore.c
parenteet_cipher: Fix initialization of opened variable (diff)
downloadefl-a831609e63cc64439229968e825d9ff65f55b560.tar.gz
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.
Diffstat (limited to 'src/lib/ecore/ecore.c')
-rw-r--r--src/lib/ecore/ecore.c2
1 files changed, 1 insertions, 1 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 <langinfo.h>
#endif
-#ifdef HAVE_SYS_MMAN_H
+#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL)
# include <sys/mman.h>
#endif