From afcb6d671bcc53fffb5f90b1fc843c1aef4d37ba Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 9 Jun 2025 08:33:36 +0900 Subject: [PATCH] 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. --- src/basic/forward.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.47.3