diff options
author | maximilian attems | 2012-05-31 19:40:49 +0200 |
---|---|---|
committer | Karel Zak | 2012-06-05 14:54:12 +0200 |
commit | ab65d635c8bb11b9343e727f8e73e7d718322e1e (patch) | |
tree | 70d75645cc8350a659d24691d8dbeee4dba3cfdc /include/nls.h | |
parent | Merge branch 'su.1' of https://github.com/kerolasa/lelux-utiliteetit (diff) | |
download | kernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.tar.gz kernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.tar.xz kernel-qcow2-util-linux-ab65d635c8bb11b9343e727f8e73e7d718322e1e.zip |
lib/strutils: circumvent missing localeconv()
Add stub too nls.h, include it instead of locale.h.
Code in strutils handles already returned NULL.
Signed-off-by: maximilian attems <max@stro.at>
Diffstat (limited to 'include/nls.h')
-rw-r--r-- | include/nls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/nls.h b/include/nls.h index 9a9311bdc..3eabfe63b 100644 --- a/include/nls.h +++ b/include/nls.h @@ -12,6 +12,12 @@ int main(int argc, char *argv[]); #else # undef setlocale # define setlocale(Category, Locale) /* empty */ +struct lconv +{ + char *decimal_point; +}; +# undef localeconv +# define localeconv() NULL #endif #ifdef ENABLE_NLS |