path: root/src/lib/evas/common/evas_image_main.c
diff options
authorVincent Torri <>2019-08-19 09:55:12 -0400
committerMike Blumenkrantz <>2019-08-19 09:55:13 -0400
commit01b987df59154f87a5ed8688c272f0a04bc8c4c9 (patch)
treefb8f8fa042ab81e824db5a4c0fbda1614fb3056d /src/lib/evas/common/evas_image_main.c
parentce3d1ec7e7c5574651dbf5c278356308528e2ea9 (diff)
make mman.h private
Summary: integrate mman.h to make Evil private to the EFL, as mman.h does not exist on Windows. After a discussion with raster, i include sys/mman.h only on non Windows platform. One issue, though, is that src/modules/emotion/generic/Emotion_Generic_Plugin.h has inlined functions using mmap() Test Plan: compilation on Windows Reviewers: cedric, raster, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
Diffstat (limited to '')
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c
index e42e05d816..1be23a591e 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -2,7 +2,9 @@
2# include "config.h" /* so that EAPI in Eet.h is correctly defined */ 2# include "config.h" /* so that EAPI in Eet.h is correctly defined */
3#endif 3#endif
4 4
5#ifdef HAVE_SYS_MMAN_H 5#ifdef _WIN32
6# include <evil_private.h> /* mmap */
6# include <sys/mman.h> 8# include <sys/mman.h>
7#endif 9#endif
8 10