diff options
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 0944811..3dfffbb 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -17,6 +17,7 @@ details. */ #include <mntent.h> #undef _NOMNTENT_FUNCS #include <setjmp.h> +#include <ucontext.h> #define CYGTLS_INITIALIZED 0xc763173f @@ -192,7 +193,8 @@ public: siginfo_t *sigwait_info; HANDLE signal_arrived; bool will_wait_for_signal; - CONTEXT thread_context; + long __align; /* Needed to align context to 16 byte. */ + ucontext_t context; DWORD thread_id; siginfo_t infodata; struct pthread *tid; |