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>
#else
# undef setlocale
# define setlocale(Category, Locale) /* empty */
+struct lconv
+{
+ char *decimal_point;
+};
+# undef localeconv
+# define localeconv() NULL
#endif
#ifdef ENABLE_NLS
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
-#include <locale.h>
#include <string.h>
#include "c.h"
+#include "nls.h"
#include "strutils.h"
#include "bitops.h"