Is the type `stack_t` no longer defined on linux?

Viewed 3812

The linux platform is Ubuntu 12.04

I have the following headers included in my source code:

#include <unistd.h>
#include <signal.h>
#include <ucontext.h>

...

When I compile it however, it complains /usr/include/x86_64-linux-gnu/sys/ucontext.h:139:5: error: unknown type name 'stack_t'

I googled and found that stack_t should be defined in signal.h, but here it doesn't seem to be defined?

2 Answers
Related