summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-13 16:09:09 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-13 16:09:09 +0000
commitb1bafc00d5137a27bb031e7104d9a8ca37362cca (patch)
tree4c5525362c87301163318c07b759caf5cf4f8879 /src
parente4d1062c052337552f653b786a40377a5832d245 (diff)
journald: add missing include
./src/journal/journald.h:123:114: warning: ‘struct ucred’ declared inside parameter list [enabled by default]
Diffstat (limited to 'src')
-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"