Re: [PATCH] pidfd: fix selftest compilation by removing linux/wait.h

2019-10-15 Thread Christian Brauner
On Fri, Oct 11, 2019 at 06:38:11PM +0200, Christian Kellner wrote: > From: Christian Kellner > > The pidfd_{open,poll}_test.c files both include `linux/wait.h` and > later `sys/wait.h`. The former has `#define P_ALL 0`, but in the > latter P_ALL is part of idtype_t enum, where it gets substituted

[PATCH] pidfd: fix selftest compilation by removing linux/wait.h

2019-10-11 Thread Christian Kellner
From: Christian Kellner The pidfd_{open,poll}_test.c files both include `linux/wait.h` and later `sys/wait.h`. The former has `#define P_ALL 0`, but in the latter P_ALL is part of idtype_t enum, where it gets substituted due to the aforementioned define to be `0`, which then results in `typedef e