]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
headers: add missing includes
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Mar 2019 14:55:09 +0000 (15:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Mar 2019 18:59:56 +0000 (19:59 +0100)
Fixes #12125.

src/journal/journal-file.h
src/journal/journald-context.h
src/journal/journald-wall.h

index c9036d3e02eefce3a8cb05223e8396d22d763343..e1ea368999123c126f4966c9050d166cbad9342d 100644 (file)
@@ -2,6 +2,7 @@
 #pragma once
 
 #include <inttypes.h>
+#include <sys/uio.h>
 
 #if HAVE_GCRYPT
 #  include <gcrypt.h>
index c3a5df0d98a19b53e3290ca56c215f1204cff509..46f79fb5f7efea1f30b4878a45230d029c9f7e7d 100644 (file)
@@ -2,6 +2,7 @@
 #pragma once
 
 #include <inttypes.h>
+#include <sys/socket.h>
 #include <sys/types.h>
 
 #include "sd-id128.h"
index b73059af46663d109adcd2cff75c24601c57b583..026649eb7c9202a30402507dbc561b25f1ccea07 100644 (file)
@@ -1,6 +1,8 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
+#include <sys/socket.h>
+
 #include "journald-server.h"
 
 void server_forward_wall(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);