summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/journal/journald.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journald.h b/src/journal/journald.h
index cd06b40c2f..25e7ec3b11 100644
--- a/src/journal/journald.h
+++ b/src/journal/journald.h
@@ -22,8 +22,9 @@
***/
#include <inttypes.h>
-#include <sys/types.h>
#include <stdbool.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include "journal-file.h"
#include "hashmap.h"