rrdcached plugin: Work around a bug in RRDtool 1.4rc2.
authorSebastian Harl <sh@tokkee.org>
Wed, 28 Oct 2009 16:38:51 +0000 (17:38 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 28 Oct 2009 18:41:21 +0000 (19:41 +0100)
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.

src/rrdcached.c

index 326a889..df36429 100644 (file)
@@ -24,6 +24,7 @@
 #include "common.h"
 #include "utils_rrdcreate.h"
 
+#undef HAVE_CONFIG_H
 #include <rrd_client.h>
 
 /*