diff --git a/src/collectd.c b/src/collectd.c
index 984ff757f3911fdc156717261bbb9c195907930a..4e521f9f6b40835ab34d16896717ffc347e99e2c 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
#include "plugin.h"
#include "configfile.h"
+#if HAVE_STATGRAB_H
+# include <statgrab.h>
+#endif
+
/*
* Global variables
*/