wait: move fallback definitions of wait options to xlat/
* wait.c: Move definitions of __W* flags ...
* xlat/wait4_options.in: ... here.
diff --git a/wait.c b/wait.c
index d2eb36d..09341c5 100644
--- a/wait.c
+++ b/wait.c
@@ -2,16 +2,6 @@
#include <sys/wait.h>
-#ifndef __WNOTHREAD
-# define __WNOTHREAD 0x20000000
-#endif
-#ifndef __WALL
-# define __WALL 0x40000000
-#endif
-#ifndef __WCLONE
-# define __WCLONE 0x80000000
-#endif
-
#include "xlat/wait4_options.h"
#if !defined WCOREFLAG && defined WCOREFLG
diff --git a/xlat/wait4_options.in b/xlat/wait4_options.in
index 61219d3..df9f085 100644
--- a/xlat/wait4_options.in
+++ b/xlat/wait4_options.in
@@ -7,6 +7,6 @@
WSTOPPED
WCONTINUED
WNOWAIT
-__WCLONE
-__WALL
-__WNOTHREAD
+__WCLONE 0x80000000
+__WALL 0x40000000
+__WNOTHREAD 0x20000000