aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore/ecore.c
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/ecore.c
parentAdd F_GETFL support (which does actually nothing (diff)
downloadefl-3fe8098e9c5b5bc2eea171bd5ee2c6de3f0bc5f4.tar.gz
include some header files conditionally add specific test for fcntl
Diffstat (limited to 'src/lib/ecore/ecore.c')
-rw-r--r--src/lib/ecore/ecore.c4
1 files changed, 3 insertions, 1 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 @@
#include <fcntl.h>
#include <errno.h>
-#include <langinfo.h>
+#ifdef HAVE_LANGINFO_H
+# include <langinfo.h>
+#endif
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>