]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix includes (#5980)
authorMatija Skala <mskala@gmx.com>
Fri, 19 May 2017 14:01:35 +0000 (16:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 May 2017 14:01:35 +0000 (10:01 -0400)
Needed on musl.

src/libsystemd/sd-event/test-event.c
src/machine/image-dbus.c
src/machine/operation.c
src/nspawn/nspawn-network.c
src/nspawn/nspawn-stub-pid1.c

index c0e5e06a18459392d9f099ea099c436217609b97..8425378f3438f299c1657f83597fd66cb6aba18c 100644 (file)
@@ -17,6 +17,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <sys/wait.h>
+
 #include "sd-event.h"
 
 #include "fd-util.h"
index 2f69e2c7b74b5edb641a1efa279ae7890a140f51..18e0e348965a3ee02b4ce1bded6a15a9b59a5925 100644 (file)
@@ -17,6 +17,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <sys/file.h>
 #include <sys/mount.h>
 
 #include "alloc-util.h"
index f7d5310f44395a0d5b181df94b4ac9f8ecb7a781..9b2d13dde1bacb1596cbefd39e00a851b422636f 100644 (file)
@@ -17,6 +17,8 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
+#include <sys/wait.h>
+
 #include "alloc-util.h"
 #include "fd-util.h"
 #include "operation.h"
index 428cc04de05d4d10bfcadc836d1fe605f301db33..aa61aaaa79d858da0b98d696ce12f33129c5b229 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/veth.h>
 #include <net/if.h>
+#include <sys/file.h>
 
 #include "libudev.h"
 #include "sd-id128.h"
index 7f2a53a2451a25a0bf384a0eede1873030dbccbe..99e52974dcc4f3b1e8843659e13e36cf537df92e 100644 (file)
@@ -18,9 +18,9 @@
 ***/
 
 #include <sys/reboot.h>
-#include <sys/unistd.h>
 #include <sys/wait.h>
 #include <sys/prctl.h>
+#include <unistd.h>
 
 #include "fd-util.h"
 #include "log.h"