Code

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