From: Yu Watanabe Date: Sun, 8 Jun 2025 23:33:36 +0000 (+0900) Subject: forward: also include paths.h X-Git-Tag: v258-rc1~352^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afcb6d671bcc53fffb5f90b1fc843c1aef4d37ba;p=thirdparty%2Fsystemd.git forward: also include paths.h It provides several important constants, especially _PATH_BSHELL, which is used in PID1, executor, and run. The header has been included indirectly through e.g. libmount.h, mntent.h, utmpx.h, and so on. Let's explicitly include it in forward.h, as libmount.h and friends that includes paths.h are irrelevant to _PATH_BSHELL, and we may easily fail to build when code is touched. The header is not heavy, hence should not hurt anything. --- diff --git a/src/basic/forward.h b/src/basic/forward.h index df3bdee2336..5ca540ae01e 100644 --- a/src/basic/forward.h +++ b/src/basic/forward.h @@ -6,6 +6,7 @@ #include /* IWYU pragma: export */ #include /* IWYU pragma: export */ #include /* IWYU pragma: export */ +#include /* IWYU pragma: export */ #include /* IWYU pragma: export */ #include /* IWYU pragma: export */ #include /* IWYU pragma: export */