diff options
Diffstat (limited to 'lib/libkse/arch/amd64/include/pthread_md.h')
-rw-r--r-- | lib/libkse/arch/amd64/include/pthread_md.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libkse/arch/amd64/include/pthread_md.h b/lib/libkse/arch/amd64/include/pthread_md.h index 86af4af..4f903c5 100644 --- a/lib/libkse/arch/amd64/include/pthread_md.h +++ b/lib/libkse/arch/amd64/include/pthread_md.h @@ -32,12 +32,14 @@ #ifndef _PTHREAD_MD_H_ #define _PTHREAD_MD_H_ +#include <stddef.h> #include <sys/types.h> #include <sys/kse.h> #include <machine/sysarch.h> #include <ucontext.h> #define KSE_STACKSIZE 16384 +#define DTV_OFFSET offsetof(struct tcb, tcb_dtv) #define THR_GETCONTEXT(ucp) \ (void)_amd64_save_context(&(ucp)->uc_mcontext) |