diff --git a/src/rrd_dump.c b/src/rrd_dump.c
index 57bd0b8d278f431b78bcbfabc7f122aff84e095e..3b7867f44551a7cd55ce8b745c2639c146816ea4 100644 (file)
--- a/src/rrd_dump.c
+++ b/src/rrd_dump.c
#include "rrd_rpncalc.h"
#include "rrd_client.h"
-#ifdef HAVE_LOCALE_H
#include <locale.h>
-#endif
#if !(defined(NETWARE) || defined(WIN32))
extern char *tzname[2];
return (-1);
}
-#ifdef HAVE_SETLOCALE
old_locale = setlocale(LC_NUMERIC, "C");
-#endif
+
if (opt_header == 1) {
CB_PUTS("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
rrd_free(&rrd);
-#ifdef HAVE_SETLOCALE
setlocale(LC_NUMERIC, old_locale);
-#endif
return rrd_close(rrd_file);