projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.0' into collectd-4.1
[collectd.git]
/
src
/
collectd.h
diff --git
a/src/collectd.h
b/src/collectd.h
index
3d44c51
..
282e632
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-23,7
+23,7
@@
#define COLLECTD_H
#if HAVE_CONFIG_H
#define COLLECTD_H
#if HAVE_CONFIG_H
-# include
<config.h>
+# include
"config.h"
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-182,6
+182,10
@@
#define CONFIGFILE SYSCONFDIR"/collectd.conf"
#endif
#define CONFIGFILE SYSCONFDIR"/collectd.conf"
#endif
+#ifndef LOCALSTATEDIR
+#define LOCALSTATEDIR PREFIX "/var"
+#endif
+
#ifndef PKGLOCALSTATEDIR
#define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME
#endif
#ifndef PKGLOCALSTATEDIR
#define PKGLOCALSTATEDIR PREFIX "/var/lib/" PACKAGE_NAME
#endif