Code

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 326a8898622179c1ca741ba3d0f710f3a828d161..df36429b48f9f145995ba9415f04fade8b5c7a95 100644 (file)
@@ -24,6 +24,7 @@
 #include "common.h"
 #include "utils_rrdcreate.h"
 
+#undef HAVE_CONFIG_H
 #include <rrd_client.h>
 
 /*