]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
jail.c: Include sys/wait.h before linux/wait.h
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 28 Nov 2022 13:00:26 +0000 (14:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Nov 2022 13:15:20 +0000 (13:15 +0000)
This is necessary for compiling Pakfire on Ubuntu 22.04 LTS.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/jail.c

index e0d48d685eb98c69c2dc9020042caff82ade2e7c..3e6f691d4121a68b8f09ada4041bd983d4fc64ed 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/fcntl.h>
 #include <linux/sched.h>
 #include <linux/wait.h>
+#include <sys/wait.h>
 #include <sched.h>
 #include <signal.h>
 #include <stdlib.h>