index 1fa8f324461293c201b30440a8bb3e857062a993..39ea5774d6ab68ef0623bd2c6dfacd2104d877e0 100644 (file)
--- a/src/daemon/common_test.c
+++ b/src/daemon/common_test.c
#include "testing.h"
#include "common.h"
+#if HAVE_LIBKSTAT
+kstat_ctl_t *kc;
+#endif /* HAVE_LIBKSTAT */
+
DEF_TEST(sstrncpy)
{
char buffer[16] = "";