#include "common.h"
#include "globals.h"
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
+
void hostname_set(char const *hostname) {
sstrncpy(hostname_g, hostname, sizeof(hostname_g));
}
char *hostname_g;
cdtime_t interval_g;
int timeout_g;
+#if HAVE_KSTAT_H
kstat_ctl_t *kc;
+#endif