X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fucontext.h;h=28d04ea88a109a156d03e1ffcb71b0179ab5169d;hp=87c89cafdacc2c488010a86ae8f09f42ff3ba709;hb=9a3bbce447403d735282586786dc436ec1ffbad4;hpb=47e72e10d5e1c7e88b8e419586baf55b12141446 diff --git a/include/ucontext.h b/include/ucontext.h index 87c89caf..28d04ea8 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -4,6 +4,8 @@ extern "C" { #endif +#include + #include #ifdef _GNU_SOURCE @@ -14,7 +16,7 @@ struct __ucontext; int getcontext(struct __ucontext *); void makecontext(struct __ucontext *, void (*)(void), int, ...); -int setcontext(const ucontext_t *); +int setcontext(const struct __ucontext *); int swapcontext(struct __ucontext *, const struct __ucontext *); #ifdef __cplusplus