aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2018-12-05 07:56:22 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-05 11:09:23 +0100
commit877023d056b1d184c296bca6e29f33efda71573f (patch)
tree6c71979bbb2cc59c2923bc0a1222db7fb0d4ceac
parentRevert "Revert "eina: add locale-independent eina_convert_strtod_c function"" (diff)
downloadefl-devs/bu5hm4n/macos.tar.gz
eina: fix a build failure caused by missing 'locale_t' from OSXdevs/bu5hm4n/macos
In OSX, locale_t is included in xlocale.h @fix Differential Revision: https://phab.enlightenment.org/D7395
-rw-r--r--src/lib/eina/eina_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eina/eina_private.h b/src/lib/eina/eina_private.h
index be826e0fb0..d377357b67 100644
--- a/src/lib/eina/eina_private.h
+++ b/src/lib/eina/eina_private.h
@@ -21,6 +21,9 @@
#include <stdarg.h>
#include <locale.h>
+#if defined (__MacOSX__) || (defined (__MACH__) && defined (__APPLE__))
+#include <xlocale.h>
+#endif
#ifdef _WIN32
# include <Evil.h>