X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fcommon_test.c;h=39ea5774d6ab68ef0623bd2c6dfacd2104d877e0;hb=a7b0cdea4f6a0f8d29ade21ae058182f720dd432;hp=1fa8f324461293c201b30440a8bb3e857062a993;hpb=0657d95eaa686d64efe6bbccda346ebd6467bd0b;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] = "";