rrdtool plugin: Make sure "cache_timeout + random_variation" dosn't get negative.
[collectd.git] / src / collectdctl.c
index bb7cfca..e1091cc 100644 (file)
  *   Sebastian "tokkee" Harl <sh@tokkee.org>
  **/
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #ifndef _ISOC99_SOURCE
 # define _ISOC99_SOURCE
 #endif
 # define _XOPEN_SOURCE 600
 #endif
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <stdio.h>
 #include <string.h>
 #include <strings.h>