On Fri, 2020-01-03 at 22:18 -0500, Dmitry Goncharov via Bug reports and discussion for GNU make wrote: > This patch replaces __attribute__ with gmake_attribute to retain the > current behavior of getting __attribute__ removed from gmake's internal > function declartions and keep glibc declarations intact and allow > -std=c99/-ansi.
Thanks, I did something similar to this but not quite the same. It's a bit strange because I don't see that same error on my system and in fact, I don't have that code in my sys/wait.h file; I'm using GNU libc 2.30. Maybe that's from an older, not a newer, GNU libc?