Moved <statgrab.h> out of "collectd.h" and into the plugins that actually use the...
[collectd.git] / src / load.c
index c9f130b..db3bf4b 100644 (file)
 #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