From febe816d5cf4dff6c35936fd3c5ced8e49ca6ee8 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 25 Oct 2007 23:11:54 +0200 Subject: [PATCH] rrdtool plugin: Include the `rrd.h' header file in `rrdtool.c', not `collectd.h'. This caused an error when --with-rrdtool was used to have the header file in a non-standard directory, because the appropriate CFLAGS were not passed to all plugins. --- src/collectd.h | 3 --- src/rrdtool.c | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/collectd.h b/src/collectd.h index 282e6325..2849db27 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -153,9 +153,6 @@ # include #endif -#if HAVE_RRD_H -# include -#endif #if HAVE_PTH_H # include #endif diff --git a/src/rrdtool.c b/src/rrdtool.c index 9fc68728..36885817 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -24,6 +24,8 @@ #include "common.h" #include "utils_avltree.h" +#include + #if HAVE_PTHREAD_H # include #endif -- 2.11.0