X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fcommon_test.c;h=39ea5774d6ab68ef0623bd2c6dfacd2104d877e0;hb=a96ba1d6c979b4bccbc4d2ebc8872c5dbb1d1e09;hp=1fa8f324461293c201b30440a8bb3e857062a993;hpb=f14825411d74f8e01d68e3c22cfd541e0cad3aa5;p=collectd.git diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index 1fa8f324..39ea5774 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] = "";