summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-29 03:00:50 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-29 03:00:50 +0100
commitabc2970530191da4c960bcfb8a9c3296c8fb6ea5 (patch)
treed74084662b8bfc4745aad83f00fe201ca34fc054
parent0be6b58c20ede4d09451a543d17dc09f7f05e71b (diff)
proc: Fix building with old glibc
* proc/wait.c (WNOWAIT): Define if not already defined.
-rw-r--r--proc/wait.c4
1 files changed, 4 insertions, 0 deletions
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