Added missing include of 'kstat.h'
[collectd.git] / src / daemon / plugin_mock.c
index 6df4c15..96bf382 100644 (file)
 
 #include "plugin.h"
 
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
+
 #if HAVE_LIBKSTAT
 kstat_ctl_t *kc = NULL;
 #endif /* HAVE_LIBKSTAT */