aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-19 15:41:37 +0100
committerChris Michael <cp.michael@samsung.com>2013-03-26 08:53:33 +0000
commitacc20867a491166e581ce56b05b4cf20709f832e (patch)
tree716af8a8303f0d0a4bab436e01471aece9063974
parenteet_cipher: Fix initialization of opened variable (diff)
downloadefl-acc20867a491166e581ce56b05b4cf20709f832e.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.
-rw-r--r--src/lib/ecore/ecore.c2
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
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 <langinfo.h>
#endif
-#ifdef HAVE_SYS_MMAN_H
+#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL)
# include <sys/mman.h>
#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 <unistd.h>
#endif
-#ifdef HAVE_SYS_MMAN_H
+#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL)
# include <sys/mman.h>
#endif