From: Alan T. DeKok Date: Tue, 18 Aug 2020 13:43:50 +0000 (-0400) Subject: move include so that typedefs are defined before usage X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ac24a856cdf1e010eca892cb6aa4a25d36cc669;p=thirdparty%2Ffreeradius-server.git move include so that typedefs are defined before usage because server/module.h includes io/schedule.h, which may eventually include worker.h --- diff --git a/src/lib/io/worker.h b/src/lib/io/worker.h index 5d4b1936ae4..9dac644ece8 100644 --- a/src/lib/io/worker.h +++ b/src/lib/io/worker.h @@ -43,7 +43,6 @@ typedef struct fr_worker_s fr_worker_t; #include #include -#include #include #include #include @@ -86,6 +85,8 @@ fr_channel_t *fr_worker_channel_create(fr_worker_t *worker, TALLOC_CTX *ctx, fr_ int fr_worker_stats(fr_worker_t const *worker, int num, uint64_t *stats) CC_HINT(nonnull); +#include + int fr_worker_request_add(REQUEST *request, module_method_t process, void *ctx); #ifdef __cplusplus