projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e9792
)
fix Unicode build on glibc
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Feb 2010 07:47:17 +0000
(08:47 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Feb 2010 07:47:17 +0000
(08:47 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/unicode.h
patch
|
blob
|
history
diff --git
a/include/unicode.h
b/include/unicode.h
index 7ab044e17cbf998d66750dabddad33099e225c8f..857aab138ecafb5c68a148e0a08cd00c1849d46a 100644
(file)
--- 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;