aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:53 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:53 +0000
commitf1ca8b54d6f51d0eab01e29e47c3f28d5056aa60 (patch)
treeceeb25111b9776fd485a07ee6b4222a6f1aeb7c4 /src/lib/ecore/ecore.c
parentefl: remove check for libgen.h (diff)
downloadefl-f1ca8b54d6f51d0eab01e29e47c3f28d5056aa60.tar.gz
efl: remove check for langinfo.h and locale.h
SVN revision: 82583
Diffstat (limited to 'src/lib/ecore/ecore.c')
-rw-r--r--src/lib/ecore/ecore.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index eb306408b3..5c9ad0cd28 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -2,6 +2,7 @@
# include <config.h>
#endif
+#include <locale.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
@@ -10,13 +11,7 @@
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
-#ifdef HAVE_LANGINFO_H
-# include <langinfo.h>
-#endif
+#include <langinfo.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
@@ -140,9 +135,7 @@ ecore_init(void)
eo_init();
-#ifdef HAVE_LOCALE_H
setlocale(LC_CTYPE, "");
-#endif
/*
if (strcmp(nl_langinfo(CODESET), "UTF-8"))
{