X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-tg.c;h=85c5c1b68fd169ae6982f4e47b8e4a6a7d4b0198;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=d8b2ea19d29bbe2b7e945e4c6f83c036e1b6c34e;hpb=1035fba8812893e50d00a871e3399cc1ece3b384;p=collectd.git diff --git a/src/collectd-tg.c b/src/collectd-tg.c index d8b2ea19..85c5c1b6 100644 --- a/src/collectd-tg.c +++ b/src/collectd-tg.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -44,8 +45,8 @@ #include "utils_heap.h" -#include "libcollectdclient/collectd/client.h" -#include "libcollectdclient/collectd/network.h" +#include "collectd/client.h" +#include "collectd/network.h" #define DEF_NUM_HOSTS 1000 #define DEF_NUM_PLUGINS 20 @@ -66,7 +67,7 @@ static c_heap_t *values_heap = NULL; static struct sigaction sigint_action; static struct sigaction sigterm_action; -static _Bool loop = 1; +static bool loop = 1; __attribute__((noreturn)) static void exit_usage(int exit_status) /* {{{ */ {