From: Arran Cudbard-Bell Date: Thu, 31 Jul 2025 06:48:04 +0000 (-0700) Subject: Fix includes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8229cb7b516d86f655ffffb26c798ede0df026a;p=thirdparty%2Ffreeradius-server.git Fix includes --- diff --git a/src/lib/server/cf_parse.c b/src/lib/server/cf_parse.c index a8e56e7907..d631245b22 100644 --- a/src/lib/server/cf_parse.c +++ b/src/lib/server/cf_parse.c @@ -24,12 +24,11 @@ * @copyright 2000 Miquel van Smoorenburg (miquels@cistron.nl) * @copyright 2000 Alan DeKok (aland@freeradius.org) */ -#include "lib/util/syserror.h" -#include -#include RCSID("$Id$") #include +#include +#include #include #include @@ -42,6 +41,7 @@ RCSID("$Id$") #include #include #include +#include static conf_parser_t conf_term = CONF_PARSER_TERMINATOR; static char const parse_spaces[] = " "; diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index f7559dadf1..b9a5cf1396 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -23,12 +23,12 @@ * @copyright 2021 The FreeRADIUS server project * @copyright 2021 Network RADIUS SAS (legal@networkradius.com) */ - RCSID("$Id$") #include #include #include +#include #include #undef XLAT_DEBUG diff --git a/src/modules/rlm_cache/rlm_cache.c b/src/modules/rlm_cache/rlm_cache.c index 2fd63a3359..2311d32b05 100644 --- a/src/modules/rlm_cache/rlm_cache.c +++ b/src/modules/rlm_cache/rlm_cache.c @@ -22,7 +22,6 @@ * @copyright 2024 Arran Cudbard-Bell (a.cudbardb@freeradius.org) * @copyright 2012-2014 The FreeRADIUS server project */ -#include "lib/unlang/action.h" RCSID("$Id$") #define LOG_PREFIX mctx->mi->name @@ -36,8 +35,10 @@ RCSID("$Id$") #include #include #include +#include #include #include +#include #include "rlm_cache.h" diff --git a/src/modules/rlm_mschap/rlm_mschap.c b/src/modules/rlm_mschap/rlm_mschap.c index e536ff56c6..16aacf4c3e 100644 --- a/src/modules/rlm_mschap/rlm_mschap.c +++ b/src/modules/rlm_mschap/rlm_mschap.c @@ -23,8 +23,6 @@ */ /* MPPE support from Takahiro Wagatsuma */ - -#include "lib/unlang/action.h" RCSID("$Id$") #define LOG_PREFIX mctx->mi->name @@ -43,6 +41,7 @@ RCSID("$Id$") #include #include +#include #include #include diff --git a/src/modules/rlm_pap/rlm_pap.c b/src/modules/rlm_pap/rlm_pap.c index 3b94d07a78..2e4d15bf96 100644 --- a/src/modules/rlm_pap/rlm_pap.c +++ b/src/modules/rlm_pap/rlm_pap.c @@ -23,7 +23,6 @@ * @copyright 2012 Matthew Newton (matthew@newtoncomputing.co.uk) * @copyright 2001 Kostas Kalevras (kkalev@noc.ntua.gr) */ -#include "lib/unlang/action.h" RCSID("$Id$") USES_APPLE_DEPRECATED_API @@ -39,6 +38,7 @@ USES_APPLE_DEPRECATED_API #include #include +#include #include #include diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index 94f4f476a5..7bc22dcfac 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -24,7 +24,6 @@ * @copyright 2000,2006,2015-2016 The FreeRADIUS server project * @copyright 2025 Network RADIUS SAS */ -#include "lib/unlang/action.h" RCSID("$Id$") #define LOG_PREFIX inst->name @@ -33,6 +32,7 @@ RCSID("$Id$") #include #include #include +#include #include #include diff --git a/src/modules/rlm_tacacs/rlm_tacacs.c b/src/modules/rlm_tacacs/rlm_tacacs.c index 5263e22e8c..99e1194d16 100644 --- a/src/modules/rlm_tacacs/rlm_tacacs.c +++ b/src/modules/rlm_tacacs/rlm_tacacs.c @@ -21,13 +21,13 @@ * * @copyright 2023 Network RADIUS SAS (legal@networkradius.com) */ -#include "lib/unlang/action.h" RCSID("$Id$") #include #include #include #include +#include #include "rlm_tacacs.h" diff --git a/src/modules/rlm_yubikey/rlm_yubikey.c b/src/modules/rlm_yubikey/rlm_yubikey.c index e211193553..95057be243 100644 --- a/src/modules/rlm_yubikey/rlm_yubikey.c +++ b/src/modules/rlm_yubikey/rlm_yubikey.c @@ -23,12 +23,12 @@ * @copyright 2013 The FreeRADIUS server project * @copyright 2013 Network RADIUS (legal@networkradius.com) */ -#include "lib/server/rcode.h" -#include "lib/unlang/action.h" RCSID("$Id$") #include #include +#include +#include #include "rlm_yubikey.h" #ifdef HAVE_YKCLIENT