From: Yu Watanabe Date: Fri, 19 Sep 2025 16:36:58 +0000 (+0900) Subject: run: include sys/stat.h again X-Git-Tag: v259-rc1~485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e66b233e8375c570de282568c0c092a4a390001e;p=thirdparty%2Fsystemd.git run: include sys/stat.h again This partially reverts 9adb4685dffadb3991535a8d990ce35132b6d9a6. For the case that sys/stat.h is not included indirectly by other headers. Fixes the following error: ``` ../src/run/run.c: In function 'fchown_to_capsule': ../src/run/run.c:2128:21: error: storage size of 'st' isn't known 2128 | struct stat st; | ^~ ``` --- diff --git a/src/run/run.c b/src/run/run.c index 3c5698d9cd1..9f9e56a3c19 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "sd-bus.h"