X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fcommon_test.c;h=af2840e5883147d474b8bb3b316515b86a6cd408;hp=67d800e7105379f54cd9e9c2d3b209217a4c81ee;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=be126043c2be20399d7670fe194645292018bde0 diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index 67d800e7..af2840e5 100644 --- a/src/daemon/common_test.c +++ b/src/daemon/common_test.c @@ -27,6 +27,10 @@ #include "common.h" #include "testing.h" +#if HAVE_KSTAT_H +#include +#endif + #if HAVE_LIBKSTAT kstat_ctl_t *kc; #endif /* HAVE_LIBKSTAT */ @@ -359,7 +363,6 @@ DEF_TEST(value_to_rate) { int main(void) { RUN_TEST(sstrncpy); - RUN_TEST(ssnprintf); RUN_TEST(sstrdup); RUN_TEST(strsplit); RUN_TEST(strjoin);