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)
committerLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2020 15:44:39 +0000 (17:44 +0200)
commit97207ac85cb8f8cba9459694255ff0396f020279
treee186de8ed2e56867e2b9706863fb34078a78fff1
parentb23728ec9f384ecb7055c29b1163c8bd64ecd6e6
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.
src/login/logind.h