X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_graph.c;h=135a8a0683a96ed7fc890845c08b407f66bc72d7;hb=0949f7e2a525302eaca15116374107e08b84fb4d;hp=2e6cb9f964edf4ac49528e2d101dda2687c38958;hpb=dd7a80457423c23c6d6d9cc05b46ced2a3ec2dc6;p=rrdtool.git diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2e6cb9f..135a8a0 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -4,22 +4,23 @@ * rrd__graph.c make creates ne rrds ****************************************************************************/ -#if 0 -#include "rrd_tool.h" -#endif #include #ifdef WIN32 #include #include #endif + #ifdef HAVE_TIME_H #include #endif + #ifdef HAVE_LOCALE_H #include #endif +#include "rrd_tool.h" + #include "rrd_graph.h" #include "rrd_graph_helper.h" @@ -2515,7 +2516,7 @@ rrd_graph(int argc, char **argv, char ***prdata, int *xsize, int *ysize) tzset(); #endif #ifdef HAVE_SETLOCALE - setlocale(LC_ALL,""); + setlocale(LC_TIME,""); #endif