X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.h;h=66b485681b223c97c7fda9cc595a16d9616e0494;hb=7c702e464f9faf954c320ec5b87c4755083d82bd;hp=6886c123716e8fdb77e176d0edc5f23c4f651fd0;hpb=dd8429c16bc57f949abb2537e003b76ad88b6f90;p=collectd.git diff --git a/src/daemon/collectd.h b/src/daemon/collectd.h index 6886c123..66b48568 100644 --- a/src/daemon/collectd.h +++ b/src/daemon/collectd.h @@ -95,6 +95,9 @@ # include # endif #endif +#if HAVE_SYS_SOCKET_H +# include +#endif #if HAVE_ASSERT_H # include @@ -304,6 +307,10 @@ typedef int _Bool; # endif #endif +#ifndef GAUGE_FORMAT +# define GAUGE_FORMAT "%.15g" +#endif + /* Type for time as used by "utils_time.h" */ typedef uint64_t cdtime_t;