From: Denys Vlasenko Date: Fri, 19 Feb 2010 07:47:17 +0000 (+0100) Subject: fix Unicode build on glibc X-Git-Tag: 1_17_0~463 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f8a46032d4df70d4d42bff6738b64ae35bb42cf;p=platform%2Fupstream%2Fbusybox.git fix Unicode build on glibc Signed-off-by: Denys Vlasenko --- diff --git a/include/unicode.h b/include/unicode.h index 7ab044e..857aab1 100644 --- a/include/unicode.h +++ b/include/unicode.h @@ -5,6 +5,11 @@ #ifndef UNICODE_H #define UNICODE_H 1 +#if ENABLE_LOCALE_SUPPORT +# include +# include +#endif + PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN enum { @@ -33,8 +38,6 @@ char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const ch # if ENABLE_LOCALE_SUPPORT -# include -# include extern uint8_t unicode_status; void init_unicode(void) FAST_FUNC;