From d927ce451022415b65caa911c69d1e98c4096e8c Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Sun, 20 May 2018 23:48:00 +0700 Subject: [PATCH] Added missing include of 'kstat.h' This adressed to solve compilation issue on Solaris platform: src/daemon/common.c:64:8: error: unknown type name 'kstat_ctl_t' extern kstat_ctl_t *kc; --- src/daemon/common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon/common.c b/src/daemon/common.c index cf981dc0..d5322ed8 100644 --- a/src/daemon/common.c +++ b/src/daemon/common.c @@ -60,6 +60,10 @@ #include #endif +#if HAVE_KSTAT_H +#include +#endif + #ifdef HAVE_LIBKSTAT extern kstat_ctl_t *kc; #endif -- 2.11.0