summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/lnumeric.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/lnumeric.h')
-rw-r--r--newlib/libc/locale/lnumeric.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/locale/lnumeric.h b/newlib/libc/locale/lnumeric.h
index bed75e868..2bd7d9745 100644
--- a/newlib/libc/locale/lnumeric.h
+++ b/newlib/libc/locale/lnumeric.h
@@ -29,7 +29,9 @@
#ifndef _LNUMERIC_H_
#define _LNUMERIC_H_
+#include <_ansi.h>
#include <sys/cdefs.h>
+#include <wchar.h>
__BEGIN_DECLS
@@ -37,6 +39,11 @@ struct lc_numeric_T {
const char *decimal_point;
const char *thousands_sep;
const char *grouping;
+#ifdef __HAVE_LOCALE_INFO_EXTENDED__
+ const char *codeset; /* codeset for mbtowc conversion */
+ const wchar_t *wdecimal_point;
+ const wchar_t *wthousands_sep;
+#endif
};
struct lc_numeric_T *__get_current_numeric_locale(void);