https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066
--- Comment #6 from Florian Weimer <fw at gcc dot gnu.org> --- (In reply to Khem Raj from comment #5) > +#ifndef __stack_t_defined > +struct stack_t; > +#endif Where does __stack_t_defined come from? If this is the definition from the glibc headers, that's really brittle because it's totally internal.