From: octo Date: Sat, 18 Feb 2006 11:53:28 +0000 (+0000) Subject: Fixing the `build without rrdtool' bug reported by Werner Heuser X-Git-Tag: collectd-3.8.0~12 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7f1913144eaa212171c2d73333b5f337ec2e0da9;p=collectd.git Fixing the `build without rrdtool' bug reported by Werner Heuser --- diff --git a/src/collectd.h b/src/collectd.h index 34b02617..89153f93 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -200,7 +200,10 @@ #define MODE_LOCAL 0x04 extern time_t curtime; + +#ifdef HAVE_LIBRRD extern int operating_mode; +#endif /* int main (int argc, char **argv); */