X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-tg.c;h=85c5c1b68fd169ae6982f4e47b8e4a6a7d4b0198;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=48f2dc43cde3851adee94fd86c389ea26ea78a75;hpb=5a32acd88719481cc22aaecd36f3cbc11f3a3489;p=collectd.git diff --git a/src/collectd-tg.c b/src/collectd-tg.c index 48f2dc43..85c5c1b6 100644 --- a/src/collectd-tg.c +++ b/src/collectd-tg.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -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) /* {{{ */ {