X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fcommon_test.c;h=d8efb1553297e92eda45b1cac073be4085f1e717;hb=1b4d95b869063e619bd7aae54cf37c5a1b91fbee;hp=0ee4e7e0eb2c6823e81f32063ceff48eaca8c127;hpb=08a2128ac248150b50f9c54c9c71f573e54df3c3;p=collectd.git diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index 0ee4e7e0..d8efb155 100644 --- a/src/daemon/common_test.c +++ b/src/daemon/common_test.c @@ -27,6 +27,10 @@ #include "testing.h" #include "common.h" +#if HAVE_LIBKSTAT +kstat_ctl_t *kc; +#endif /* HAVE_LIBKSTAT */ + DEF_TEST(sstrncpy) { char buffer[16] = "";