tools/nolibc: Use linux/wait.h rather than duplicating it
authorMark Brown <broonie@kernel.org>
Mon, 23 Oct 2023 18:42:45 +0000 (19:42 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:08 +0000 (22:38 +0100)
commitbb6ec2e9fd8b83b2db68a449754c899a211bf84b
tree1dbde61a7af460ae8b34baa5caf699ec61d63a6e
parent89b212d4afef64331b08c44e661a703d2be0970b
tools/nolibc: Use linux/wait.h rather than duplicating it

Linux defines a few custom flags for waitpid() which aren't currently
provided by nolibc, make them available to nolibc based programs by just
including linux/wait.h where they are defined instead of defining our
own copy of the flags.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/include/nolibc/types.h