X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fperl.c;h=09e6e5aafaeccac5d6d6ab0cd4274c569f2df892;hb=7045c4b543304ffabaa30a2ca9183489e75eafe3;hp=306d4138a8fdbb9f0b0903ef4f0d3d638ff2e420;hpb=d486225f89ea52d8ed2b4242eba2ad94c409f837;p=collectd.git diff --git a/src/perl.c b/src/perl.c index 306d4138..09e6e5aa 100644 --- a/src/perl.c +++ b/src/perl.c @@ -33,21 +33,12 @@ /* do not automatically get the thread specific Perl interpreter */ #define PERL_NO_GET_CONTEXT -#define DONT_POISON_SPRINTF_YET 1 #include "collectd.h" - -#undef DONT_POISON_SPRINTF_YET - #include #include #include -#if defined(COLLECT_DEBUG) && COLLECT_DEBUG && defined(__GNUC__) && __GNUC__ -#undef sprintf -#pragma GCC poison sprintf -#endif - #include /* Some versions of Perl define their own version of DEBUG... :-/ */ @@ -56,8 +47,8 @@ #endif /* DEBUG */ /* ... while we want the definition found in plugin.h. */ -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include "filter_chain.h"