diff --git a/src/utils_mount_test.c b/src/utils_mount_test.c
index 77a4205e84de1ffed5bec5699a830d187cc71e56..b4cb43219a0e63b1ff8200ee79c3e2953704ca9c 100644 (file)
--- a/src/utils_mount_test.c
+++ b/src/utils_mount_test.c
#include "collectd.h"
#include "utils_mount.h"
+#if HAVE_LIBKSTAT
+kstat_ctl_t *kc;
+#endif /* HAVE_LIBKSTAT */
+
DEF_TEST(cu_mount_checkoption)
{
char line_opts[] = "foo=one,bar=two,qux=three";