summaryrefslogtreecommitdiff
path: root/src/modules/evas/image_loaders/generic/evas_image_load_generic.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/image_loaders/generic/evas_image_load_generic.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/generic/evas_image_load_generic.c b/src/modules/evas/image_loaders/generic/evas_image_load_generic.c
index 7d0c8e3609..94b935bc20 100644
--- a/src/modules/evas/image_loaders/generic/evas_image_load_generic.c
+++ b/src/modules/evas/image_loaders/generic/evas_image_load_generic.c
@@ -7,11 +7,16 @@
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <sys/types.h> 9#include <sys/types.h>
10#include <sys/mman.h>
11#include <sys/stat.h> 10#include <sys/stat.h>
12#include <fcntl.h> 11#include <fcntl.h>
13#include <ctype.h> 12#include <ctype.h>
14 13
14#ifdef _WIN32
15# include <evil_private.h> /* mmap */
16#else
17# include <sys/mman.h>
18#endif
19
15#ifndef O_BINARY 20#ifndef O_BINARY
16# define O_BINARY 0 21# define O_BINARY 0
17#endif 22#endif