X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futmp-wtmp.c;h=d6c4cc81b32847c815997bc5609b2c2eb1d6eb05;hb=2c38d6cdf68973efb758ab546fb7553e3320bb84;hp=bdb962af3497d9a901450b85be009dd4386dcfca;hpb=0a6f50c0afdfc434b492493bd9efab20cbee8623;p=elogind.git diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index bdb962af3..d6c4cc81b 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -21,7 +21,6 @@ #include #include -#include #include #include #include @@ -31,6 +30,7 @@ #include "macro.h" #include "path-util.h" #include "utmp-wtmp.h" +#include "terminal-util.h" int utmp_get_runlevel(int *runlevel, int *previous) { struct utmpx *found, lookup = { .ut_type = RUN_LVL };