X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.h;h=87f05a23a215ea49b8bc3c8599f745a5e69981a6;hp=01d484ee082fa3b05edad7da08acf33f2a1f2c83;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=d45f9cdfc084fc5e8783073b993d58b84deb5d58 diff --git a/src/daemon/collectd.h b/src/daemon/collectd.h index 01d484ee..87f05a23 100644 --- a/src/daemon/collectd.h +++ b/src/daemon/collectd.h @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -186,10 +187,6 @@ #include #endif -#if HAVE_KSTAT_H -#include -#endif - #ifndef PACKAGE_NAME #define PACKAGE_NAME "collectd" #endif @@ -267,11 +264,6 @@ #define GAUGE_FORMAT "%.15g" #endif -/* Type for time as used by "utils_time.h" */ -typedef uint64_t cdtime_t; - -extern char hostname_g[]; -extern cdtime_t interval_g; -extern int timeout_g; +#include "globals.h" #endif /* COLLECTD_H */