summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllin Cottrell <cottrell@wfu.edu>2012-08-24 01:46:38 +0200
committerKay Sievers <kay@vrfy.org>2012-08-24 01:46:38 +0200
commit4871690d9e32608bbd9b18505b5326c2079c9690 (patch)
tree89e0ee5a8c0520178b531754c65011d5ea95bff5
parentf284860764076e2a1f0b34eb4c681bb2762f7889 (diff)
journald: add missing includes
-rw-r--r--src/journal/journald-console.c1
-rw-r--r--src/journal/journald-gperf.gperf1
-rw-r--r--src/journal/journald-kmsg.c1
-rw-r--r--src/journal/journald-native.c1
-rw-r--r--src/journal/journald-stream.c1
-rw-r--r--src/journal/journald-syslog.c1
6 files changed, 6 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"
diff --git a/src/journal/journald-gperf.gperf b/src/journal/journald-gperf.gperf
index 2f83cbde7c..32474df6da 100644
--- a/src/journal/journald-gperf.gperf
+++ b/src/journal/journald-gperf.gperf
@@ -1,5 +1,6 @@
%{
#include <stddef.h>
+#include <sys/socket.h>
#include "conf-parser.h"
#include "journald.h"
%}
diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c
index aebca5dbed..b259480abc 100644
--- a/src/journal/journald-kmsg.c
+++ b/src/journal/journald-kmsg.c
@@ -23,6 +23,7 @@
#include <sys/epoll.h>
#include <fcntl.h>
#include <sys/mman.h>
+#include <sys/socket.h>
#include <systemd/sd-messages.h>
#include <libudev.h>
diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c
index 7aa99a3990..4e44c3ada7 100644
--- a/src/journal/journald-native.c
+++ b/src/journal/journald-native.c
@@ -20,6 +20,7 @@
***/
#include <unistd.h>
+#include <stddef.h>
#include <sys/epoll.h>
#include "socket-util.h"
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c
index 3e4022ad69..113c4214f8 100644
--- a/src/journal/journald-stream.c
+++ b/src/journal/journald-stream.c
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <unistd.h>
+#include <stddef.h>
#include <sys/epoll.h>
#ifdef HAVE_SELINUX
diff --git a/src/journal/journald-syslog.c b/src/journal/journald-syslog.c
index daed095c29..9db9198a49 100644
--- a/src/journal/journald-syslog.c
+++ b/src/journal/journald-syslog.c
@@ -20,6 +20,7 @@
***/
#include <unistd.h>
+#include <stddef.h>
#include <sys/epoll.h>
#include "socket-util.h"