diff options
-rw-r--r-- | src/journal/journald-console.c | 1 | ||||
-rw-r--r-- | src/journal/journald-gperf.gperf | 1 | ||||
-rw-r--r-- | src/journal/journald-kmsg.c | 1 | ||||
-rw-r--r-- | src/journal/journald-native.c | 1 | ||||
-rw-r--r-- | src/journal/journald-stream.c | 1 | ||||
-rw-r--r-- | src/journal/journald-syslog.c | 1 |
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" |