From: Sebastian Harl Date: Wed, 28 Oct 2009 16:38:51 +0000 (+0100) Subject: rrdcached plugin: Work around a bug in RRDtool 1.4rc2. X-Git-Tag: collectd-4.7.5~14 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=3439c4a3e08adfef8f35d0e058fadc7e71501486;p=collectd.git rrdcached plugin: Work around a bug in RRDtool 1.4rc2. rrd_client.h in that pre-release checked for HAVE_CONFIG_H and would then try to include rrd_config.h, which, obviously, is not available in collectd. --- diff --git a/src/rrdcached.c b/src/rrdcached.c index 326a8898..df36429b 100644 --- a/src/rrdcached.c +++ b/src/rrdcached.c @@ -24,6 +24,7 @@ #include "common.h" #include "utils_rrdcreate.h" +#undef HAVE_CONFIG_H #include /*