summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-10 17:57:23 +0100
committerCedric BAIL <cedric.bail@samsung.com>2013-03-11 10:34:47 +0900
commit3fe8098e9c5b5bc2eea171bd5ee2c6de3f0bc5f4 (patch)
treee4dd43851ed89695243691285cb32ae3f33afa17 /src/lib/ecore
parentc97d05aca29972d8082b825b807c97c429d529bc (diff)
include some header files conditionally add specific test for fcntl
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore.c4
-rw-r--r--src/lib/ecore/ecore_coroutine.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 3c5a1019a0..237b457b92 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -11,7 +11,9 @@
11#include <fcntl.h> 11#include <fcntl.h>
12#include <errno.h> 12#include <errno.h>
13 13
14#include <langinfo.h> 14#ifdef HAVE_LANGINFO_H
15# include <langinfo.h>
16#endif
15 17
16#ifdef HAVE_SYS_MMAN_H 18#ifdef HAVE_SYS_MMAN_H
17# include <sys/mman.h> 19# include <sys/mman.h>
diff --git a/src/lib/ecore/ecore_coroutine.c b/src/lib/ecore/ecore_coroutine.c
index 5afd20e112..6f28584a0c 100644
--- a/src/lib/ecore/ecore_coroutine.c
+++ b/src/lib/ecore/ecore_coroutine.c
@@ -14,7 +14,9 @@
14# include <ucontext.h> 14# include <ucontext.h>
15#elif defined(USE_SETJMP) 15#elif defined(USE_SETJMP)
16# include <sys/time.h> 16# include <sys/time.h>
17# include <sys/resource.h> 17# if HAVE_SYS_RESOURCE_H
18# include <sys/resource.h>
19# endif
18# include <setjmp.h> 20# include <setjmp.h>
19#endif 21#endif
20 22