Fixing the `build without rrdtool' bug reported by Werner Heuser
authorocto <octo>
Sat, 18 Feb 2006 11:53:28 +0000 (11:53 +0000)
committerocto <octo>
Sat, 18 Feb 2006 11:53:28 +0000 (11:53 +0000)
src/collectd.h

index 34b0261..89153f9 100644 (file)
 #define MODE_LOCAL  0x04
 
 extern time_t curtime;
+
+#ifdef HAVE_LIBRRD
 extern int operating_mode;
+#endif
 
 /* int main (int argc, char **argv); */