login/logind: Include sys/stat.h for struct stat usage
authorIkey Doherty <ikey.doherty@lispysnake.com>
Fri, 28 Aug 2020 13:23:44 +0000 (14:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 09:33:23 +0000 (11:33 +0200)
commite88aec2c30d1fafcca457489bf2ecb7075431992
tree6aad57d8b75931b2d2fb41b6acc1edc2c0f69a95
parent2cae29180ae00a6258888f4900644f65a087f1e7
login/logind: Include sys/stat.h for struct stat usage

We need to include `<sys/stat.h>` for usage of the `struct stat` in
the Manager struct, much as we already include `<stdbool.h>` for C99
booleans.

This helps alleviate another minor build failure on non-glibc systems.

(cherry picked from commit 97207ac85cb8f8cba9459694255ff0396f020279)
(cherry picked from commit 2fb612371dfec40a90be975f9110341cac42300d)
src/login/logind.h