summaryrefslogtreecommitdiff
path: root/src/journal/journald-console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/journald-console.c')
-rw-r--r--src/journal/journald-console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald-console.c b/src/journal/journald-console.c
index 6cd2397ac3..2596d44705 100644
--- a/src/journal/journald-console.c
+++ b/src/journal/journald-console.c
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include <sys/socket.h>
#include "journald.h"
#include "journald-console.h"