X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fucontext.h;h=3bb776ed6a86969a530a558ff81506cfc7ccbb4b;hp=1121761626b65c41977e51473991273abb0670fe;hb=43653c1250ad5eb5385d7e08292ad047420f8d25;hpb=acfd06df17fd3940e4602af4b9132f61a6a3eb7f diff --git a/include/ucontext.h b/include/ucontext.h index 11217616..3bb776ed 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -4,10 +4,12 @@ extern "C" { #endif +#include + #include -#ifdef _GNU_SOURCE -#define ucontext __ucontext +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define NGREG (sizeof(gregset_t)/sizeof(greg_t)) #endif struct __ucontext;