summaryrefslogtreecommitdiff
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
parent23302c3acbcb8ce8c4e021e00530090bdcd92e0d (diff)
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 @@
15# include <langinfo.h> 15# include <langinfo.h>
16#endif 16#endif
17 17
18#ifdef HAVE_SYS_MMAN_H 18#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL)
19# include <sys/mman.h> 19# include <sys/mman.h>
20#endif 20#endif
21 21
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 @@
13# include <unistd.h> 13# include <unistd.h>
14#endif 14#endif
15 15
16#ifdef HAVE_SYS_MMAN_H 16#if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL)
17# include <sys/mman.h> 17# include <sys/mman.h>
18#endif 18#endif
19 19