Added missing include of 'kstat.h'
[collectd.git] / src / uptime.c
index d51aa39..76eb0d5 100644 (file)
@@ -52,6 +52,9 @@
 /*
  * Global variables
  */
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
 
 #if HAVE_LIBKSTAT
 extern kstat_ctl_t *kc;