This is necessary for compiling Pakfire on Ubuntu 22.04 LTS.
Signed-off-by: Peter Müller peter.mueller@ipfire.org --- src/libpakfire/jail.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/libpakfire/jail.c b/src/libpakfire/jail.c index e0d48d68..775d780e 100644 --- a/src/libpakfire/jail.c +++ b/src/libpakfire/jail.c @@ -22,6 +22,7 @@ #include <linux/capability.h> #include <linux/fcntl.h> #include <linux/sched.h> +#include <sys/wait.h> #include <linux/wait.h> #include <sched.h> #include <signal.h>