X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fcommon_test.c;h=af2840e5883147d474b8bb3b316515b86a6cd408;hp=4d2ccaa338d22b31a76d599a94c610b267f5263f;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=85d892df2794d992c8e3554d8990d1306f114c11 diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index 4d2ccaa3..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 */