From abc2970530191da4c960bcfb8a9c3296c8fb6ea5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 29 Dec 2020 03:00:50 +0100 Subject: proc: Fix building with old glibc * proc/wait.c (WNOWAIT): Define if not already defined. --- proc/wait.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'proc/wait.c') diff --git a/proc/wait.c b/proc/wait.c index 7968a4f9..4551d289 100644 --- a/proc/wait.c +++ b/proc/wait.c @@ -39,6 +39,10 @@ #define WCONTINUED 4 #endif +#ifndef WNOWAIT +#define WNOWAIT 8 +#endif + #ifndef WEXITED #define WEXITED 16 #endif -- cgit v1.2.3