Re: [PATCH v2] tools/nolibc: Use linux/wait.h rather than duplicating it

From: Willy Tarreau
Date: Sun Oct 29 2023 - 03:49:38 EST


On Mon, Oct 23, 2023 at 07:42:45PM +0100, Mark Brown wrote:
> 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@xxxxxxxxxx>
> ---
> Changes in v2:
> - Use linux/wait.h rather than defining things locally.
> - Link to v1: https://lore.kernel.org/r/20231020-nolibc-waitpid-flags-v1-1-8137072dae14@xxxxxxxxxx

Now merged into nolibc/next, thank you Mark!

Willy