diff options
author | Denys Vlasenko | 2010-02-19 08:47:17 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-02-19 08:47:17 +0100 |
commit | 2f8a46032d4df70d4d42bff6738b64ae35bb42cf (patch) | |
tree | ec1d5d188ae9c27e5cdddefbe32f5c92668c2a73 | |
parent | 45e97924463d4ce17717e5c768b7b980da2f1e79 (diff) | |
download | busybox-2f8a46032d4df70d4d42bff6738b64ae35bb42cf.zip busybox-2f8a46032d4df70d4d42bff6738b64ae35bb42cf.tar.gz |
fix Unicode build on glibc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/unicode.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <wchar.h> +# include <wctype.h> +#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 <wchar.h> -# include <wctype.h> extern uint8_t unicode_status; void init_unicode(void) FAST_FUNC; |