projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include kstat.h if available to provide kstat_ctl_t
[collectd.git]
/
src
/
daemon
/
utils_subst_test.c
diff --git
a/src/daemon/utils_subst_test.c
b/src/daemon/utils_subst_test.c
index
e335b50
..
5379219
100644
(file)
--- a/
src/daemon/utils_subst_test.c
+++ b/
src/daemon/utils_subst_test.c
@@
-30,6
+30,10
@@
#include "testing.h"
#include "utils_subst.h"
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
+
#if HAVE_LIBKSTAT
kstat_ctl_t *kc;
#endif /* HAVE_LIBKSTAT */
@@
-132,5
+136,3
@@
int main(void) {
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */