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?
This is meant to be a comment but I cannot make it readable there. Sorry.
Did you
#define
one of the following: