summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c1
-rw-r--r--src/journal/journald-server.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 627e43ba35..09f4e0fe38 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -61,6 +61,7 @@
#include "bus-util.h"
#include "bus-error.h"
#include "terminal-util.h"
+#include "hostname-util.h"
#define DEFAULT_FSS_INTERVAL_USEC (15*USEC_PER_MINUTE)
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index 5e07ce3c49..b3a4b53080 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -39,6 +39,10 @@
#include "missing.h"
#include "conf-parser.h"
#include "selinux-util.h"
+#include "acl-util.h"
+#include "formats-util.h"
+#include "process-util.h"
+#include "hostname-util.h"
#include "journal-internal.h"
#include "journal-vacuum.h"
#include "journal-authenticate.h"
@@ -49,9 +53,6 @@
#include "journald-native.h"
#include "journald-audit.h"
#include "journald-server.h"
-#include "acl-util.h"
-#include "formats-util.h"
-#include "process-util.h"
#ifdef HAVE_SELINUX
#include <selinux/selinux.h>