#include <string.h>
#include <libxml/parser.h>
#include <libxml/xmlreader.h>
-
+#include <locale.h>
#ifndef WIN32
# include <unistd.h> /* for off_t */
return (-1);
}
-#ifdef HAVE_SETLOCALE
old_locale = setlocale(LC_NUMERIC, "C");
-#endif
rrd = parse_file(argv[optind]);
-#ifdef HAVE_SETLOCALE
setlocale(LC_NUMERIC, old_locale);
-#endif
if (rrd == NULL)
return (-1);