#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
+#include <time.h>
#ifdef __cplusplus
}
#endif
-#include "../src/rrd_tool.h"
+#include "../../src/rrd_tool.h"
/* perl 5.004 compatibility */
-#if PERLPATCHLEVEL < 5
+#if PERLPATCHLEVEL < 5
#define PL_sv_undef sv_undef
#endif
\
if (rrd_test_error()) XSRETURN_UNDEF;
-
+/*
+ * should not be needed if libc is linked (see ntmake.pl)
#ifdef WIN32
#define free free
#define malloc malloc
#define realloc realloc
-#endif /*WIN32*/
+#endif
+*/
MODULE = RRDs PACKAGE = RRDs PREFIX = rrd_
}
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]);