projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753955e
)
Added missing include of 'kstat.h'
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 20 May 2018 16:48:00 +0000
(23:48 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 20 May 2018 16:48:00 +0000
(23:48 +0700)
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
patch
|
blob
|
history
diff --git
a/src/daemon/common.c
b/src/daemon/common.c
index
cf981dc
..
d5322ed
100644
(file)
--- a/
src/daemon/common.c
+++ b/
src/daemon/common.c
@@
-60,6
+60,10
@@
#include <sys/capability.h>
#endif
+#if HAVE_KSTAT_H
+#include <kstat.h>
+#endif
+
#ifdef HAVE_LIBKSTAT
extern kstat_ctl_t *kc;
#endif