X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcommon_test.c;h=af2840e5883147d474b8bb3b316515b86a6cd408;hb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;hp=4d2ccaa338d22b31a76d599a94c610b267f5263f;hpb=1b10ab706f8b70ce2f086e59a54cc09d671ad989;p=collectd.git 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 */