aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-19 08:47:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-19 08:47:17 +0100
commit2f8a46032d4df70d4d42bff6738b64ae35bb42cf (patch)
treeec1d5d188ae9c27e5cdddefbe32f5c92668c2a73
parent45e97924463d4ce17717e5c768b7b980da2f1e79 (diff)
downloadbusybox-w32-2f8a46032d4df70d4d42bff6738b64ae35bb42cf.tar.gz
busybox-w32-2f8a46032d4df70d4d42bff6738b64ae35bb42cf.tar.bz2
busybox-w32-2f8a46032d4df70d4d42bff6738b64ae35bb42cf.zip
fix Unicode build on glibc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/unicode.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/unicode.h b/include/unicode.h
index 7ab044e17..857aab138 100644
--- a/include/unicode.h
+++ b/include/unicode.h
@@ -5,6 +5,11 @@
5#ifndef UNICODE_H 5#ifndef UNICODE_H
6#define UNICODE_H 1 6#define UNICODE_H 1
7 7
8#if ENABLE_LOCALE_SUPPORT
9# include <wchar.h>
10# include <wctype.h>
11#endif
12
8PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 13PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
9 14
10enum { 15enum {
@@ -33,8 +38,6 @@ char* FAST_FUNC unicode_conv_to_printable_fixedwidth(uni_stat_t *stats, const ch
33 38
34# if ENABLE_LOCALE_SUPPORT 39# if ENABLE_LOCALE_SUPPORT
35 40
36# include <wchar.h>
37# include <wctype.h>
38extern uint8_t unicode_status; 41extern uint8_t unicode_status;
39void init_unicode(void) FAST_FUNC; 42void init_unicode(void) FAST_FUNC;
40 43