removed tzset as it is in rrd_graph now
[rrdtool.git] / bindings / perl-shared / RRDs.xs
index d8eef7e..4d871e9 100644 (file)
@@ -10,10 +10,10 @@ extern "C" {
 }
 #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
 
@@ -38,12 +38,14 @@ extern "C" {
                \
                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_