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 diff --git a/lib/strutils.c b/lib/strutils.c index 6bdc01d38..036ae0639 100644 --- a/lib/strutils.c +++ b/lib/strutils.c @@ -9,10 +9,10 @@ #include #include #include -#include #include #include "c.h" +#include "nls.h" #include "strutils.h" #include "bitops.h"