projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved <statgrab.h> out of "collectd.h" and into the plugins that actually use the...
[collectd.git]
/
src
/
load.c
diff --git
a/src/load.c
b/src/load.c
index
c9f130b
..
db3bf4b
100644
(file)
--- a/
src/load.c
+++ b/
src/load.c
@@
-27,6
+27,10
@@
#include <sys/loadavg.h>
#endif
+#if HAVE_STATGRAB_H
+# include <statgrab.h>
+#endif
+
#ifdef HAVE_GETLOADAVG
#if !defined(LOADAVG_1MIN) || !defined(LOADAVG_5MIN) || !defined(LOADAVG_15MIN)
#define LOADAVG_1MIN 0