projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed setlocale issues
[rrdtool.git]
/
src
/
rrd_graph.c
diff --git
a/src/rrd_graph.c
b/src/rrd_graph.c
index
2e6cb9f
..
135a8a0
100644
(file)
--- a/
src/rrd_graph.c
+++ b/
src/rrd_graph.c
@@
-4,22
+4,23
@@
* rrd__graph.c make creates ne rrds
****************************************************************************/
* rrd__graph.c make creates ne rrds
****************************************************************************/
-#if 0
-#include "rrd_tool.h"
-#endif
#include <sys/stat.h>
#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#endif
#include <sys/stat.h>
#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#endif
+
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
+
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
+#include "rrd_tool.h"
+
#include "rrd_graph.h"
#include "rrd_graph_helper.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
tzset();
#endif
#ifdef HAVE_SETLOCALE
- setlocale(LC_
ALL
,"");
+ setlocale(LC_
TIME
,"");
#endif
#endif