src/collectd.h: Use `#pragma GCC poison' to disable evil functions.
[collectd.git] / src / collectd.c
index f260c84..4e521f9 100644 (file)
 #include "plugin.h"
 #include "configfile.h"
 
+#if HAVE_STATGRAB_H
+# include <statgrab.h>
+#endif
+
 /*
  * Global variables
  */
@@ -91,7 +95,7 @@ static int init_hostname (void)
                                "\"FQDNLookup\" option, but I cannot resolve "
                                "my hostname to a fully qualified domain "
                                "name. Please fix you network "
-                               "configuration.");
+                               "configuration.", hostname_g);
                return (-1);
        }