Fixing the `build without rrdtool' bug reported by Werner Heuser
[collectd.git] / 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); */