X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Fperl-shared%2FRRDs.xs;h=d567d079e52d0ecfe7d5c36d0f5bedf7365277ca;hb=b02391185d69f22b09557b1caf725ad7eff5eb6e;hp=d8eef7e07a6c4325abd049c9fcfba033119a22ce;hpb=5837606887a6d81e8b1f7588525cb1c8783fb62b;p=rrdtool.git diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs index d8eef7e..d567d07 100644 --- a/bindings/perl-shared/RRDs.xs +++ b/bindings/perl-shared/RRDs.xs @@ -5,6 +5,7 @@ extern "C" { #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#include #ifdef __cplusplus } @@ -138,6 +139,7 @@ rrd_graph(...) } optind=0; opterr=0; rrd_clear_error(); + tzset(); rrd_graph(items+1,argv,&calcpr,&xsize,&ysize); for (i=0; i < items; i++) { free(argv[i+1]);