From: Ikey Doherty Date: Fri, 28 Aug 2020 13:23:44 +0000 (+0100) Subject: login/logind: Include sys/stat.h for struct stat usage X-Git-Tag: v247-rc1~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97207ac85cb8f8cba9459694255ff0396f020279;p=thirdparty%2Fsystemd.git login/logind: Include sys/stat.h for struct stat usage We need to include `` for usage of the `struct stat` in the Manager struct, much as we already include `` for C99 booleans. This helps alleviate another minor build failure on non-glibc systems. --- diff --git a/src/login/logind.h b/src/login/logind.h index e64ecce8e28..272fcfecd4c 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -2,6 +2,7 @@ #pragma once #include +#include #include "sd-bus.h" #include "sd-device.h"