X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=bindings%2Fperl-shared%2FRRDs.xs;h=17b3d8565992eebda3b0fe7c7d319bc02f9bc84c;hp=d567d079e52d0ecfe7d5c36d0f5bedf7365277ca;hb=3a4825306f808c36fb2c529f27c5457a0715dfaf;hpb=badb4b5a280242c6991970d25c4069bc12e77f10 diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs index d567d07..17b3d85 100644 --- a/bindings/perl-shared/RRDs.xs +++ b/bindings/perl-shared/RRDs.xs @@ -11,10 +11,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 @@ -39,12 +39,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_