diff --git a/src/collectd.h b/src/collectd.h
index ac755161d360308b258886ed0352c547226522ff..2849db27234002a6cae6f4b3bb193f2db657b0e6 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
# include <kstat.h>
#endif
-#if HAVE_RRD_H
-# include <rrd.h>
-#endif
#if HAVE_PTH_H
# include <pth.h>
#endif
#define CONFIGFILE SYSCONFDIR"/collectd.conf"
#endif
+#ifndef LOCALSTATEDIR
+#define LOCALSTATEDIR PREFIX "/var"
+#endif
+
#ifndef PKGLOCALSTATEDIR
#define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME
#endif