]> git.ipfire.org Git - thirdparty/systemd.git/commit
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>
Tue, 1 Sep 2020 15:21:26 +0000 (17:21 +0200)
commit2fb612371dfec40a90be975f9110341cac42300d
tree3ea2cc60561f17759b9aa93225ffc13cc86a4e1c
parent5e884e7ee0476d46b4da769904a067ddbab2132b
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)
src/login/logind.h