https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- Using stack_t instead of struct sigaltstack is correct. However, the type declaration should be obtained from <signal.h>. Nothing outside of glibc should ever include <bits/*.h> headers or define glibc's __need_* macros; those are purely implementation details, not public interfaces, and are liable to change incompatibly at any time.