X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=bindings%2Fperl-shared%2FRRDs.xs;h=4d871e9033baf9a7d774a0a7888c495fb2411782;hb=356ddd531c77f0907a8f608cd3009fded1e6333d;hp=d8eef7e07a6c4325abd049c9fcfba033119a22ce;hpb=5837606887a6d81e8b1f7588525cb1c8783fb62b;p=rrdtool.git diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs index d8eef7e..4d871e9 100644 --- a/bindings/perl-shared/RRDs.xs +++ b/bindings/perl-shared/RRDs.xs @@ -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_