From: Arran Cudbard-Bell Date: Tue, 17 Oct 2023 23:37:56 +0000 (-0600) Subject: Include missing header X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=195b566a85d60269846eb844e6705f2fbbb9c30c;p=thirdparty%2Ffreeradius-server.git Include missing header --- diff --git a/src/listen/detail/proto_detail.h b/src/listen/detail/proto_detail.h index 55b78d9dc59..e94480ba407 100644 --- a/src/listen/detail/proto_detail.h +++ b/src/listen/detail/proto_detail.h @@ -25,6 +25,7 @@ */ RCSIDH(detail_h, "$Id$") +#include #include #include #include @@ -62,7 +63,7 @@ typedef struct { uint32_t num_messages; //!< for message ring buffer uint32_t priority; //!< for packet processing, larger == higher - bool exit_when_done; //!< exit when done reading the current file. + bool exit_when_done; //!< exit when done reading the current file. fr_schedule_t *sc; //!< the scheduler, where we insert new readers diff --git a/src/listen/detail/proto_detail_work.c b/src/listen/detail/proto_detail_work.c index 090b0220820..7b9e6c23c7f 100644 --- a/src/listen/detail/proto_detail_work.c +++ b/src/listen/detail/proto_detail_work.c @@ -734,8 +734,6 @@ static int mod_open(fr_listen_t *li) static int mod_close_internal(proto_detail_work_thread_t *thread) { - proto_detail_work_t const *inst = talloc_get_type_abort_const(thread->inst, proto_detail_work_t); - /* * One less worker... we check for "0" because of the * hacks in proto_detail which let us start up with