X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_tool.c;h=302669d6641ff428a317e2e1474219dbfdc75d7d;hp=7464b3cd7f7789c97cea01976b31ccd555c5e59b;hb=4dca5ee2d9ec2f43fec94911b5c4c00930051229;hpb=6a0490ebd1433e810f3f68a2493207a8bd882314 diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 7464b3c..302669d 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -18,9 +18,8 @@ #include "rrd_xport.h" #include "rrd_i18n.h" -#ifdef HAVE_LOCALE_H #include -#endif + void PrintUsage( char *cmd); @@ -408,11 +407,10 @@ int main( #ifdef MUST_DISABLE_FPMASK fpsetmask(0); #endif -#ifdef HAVE_LOCALE_H + /* initialize locale settings according to localeconv(3) */ setlocale(LC_ALL, ""); -#endif #if defined(HAVE_LIBINTL_H) && defined(BUILD_LIBINTL) bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);