X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futmp-wtmp.c;h=6fa9a3d7a316edd6f6600f1e7dc98ea04dda0660;hb=b733fbe7a0214eb43e402db7179697bf9c0975c1;hp=d6c4cc81b32847c815997bc5609b2c2eb1d6eb05;hpb=2a7a7d0b0f645b14cf0388b40d747b0ccb0c091e;p=elogind.git diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index d6c4cc81b..6fa9a3d7a 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -29,8 +29,9 @@ #include "macro.h" #include "path-util.h" -#include "utmp-wtmp.h" #include "terminal-util.h" +#include "hostname-util.h" +#include "utmp-wtmp.h" int utmp_get_runlevel(int *runlevel, int *previous) { struct utmpx *found, lookup = { .ut_type = RUN_LVL };