chiark / gitweb /
util: split all hostname related calls into hostname-util.c
[elogind.git] / src / shared / utmp-wtmp.c
index d6c4cc81b32847c815997bc5609b2c2eb1d6eb05..6fa9a3d7a316edd6f6600f1e7dc98ea04dda0660 100644 (file)
@@ -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 };