diff options
Diffstat (limited to 'setjmp')
-rw-r--r-- | setjmp/Makefile | 2 | ||||
-rw-r--r-- | setjmp/setjmp.h | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/setjmp/Makefile b/setjmp/Makefile index 0825dcf..d9eba87 100644 --- a/setjmp/Makefile +++ b/setjmp/Makefile @@ -21,7 +21,7 @@ # subdir := setjmp -headers := setjmp.h jmp_buf.h +headers := setjmp.h bits/setjmp.h routines := setjmp sigjmp bsd-setjmp bsd-_setjmp \ longjmp __longjmp jmp-unwind diff --git a/setjmp/setjmp.h b/setjmp/setjmp.h index eb4305f..0bb6fd6 100644 --- a/setjmp/setjmp.h +++ b/setjmp/setjmp.h @@ -21,15 +21,14 @@ */ #ifndef _SETJMP_H - #define _SETJMP_H 1 + #include <features.h> __BEGIN_DECLS -/* Get the machine-dependent definition of `__jmp_buf'. */ -#include <jmp_buf.h> -#include <sigset.h> /* Get `__sigset_t'. */ +#include <bits/setjmp.h> /* Get `__jmp_buf'. */ +#include <bits/sigset.h> /* Get `__sigset_t'. */ /* Calling environment, plus possibly a saved signal mask. */ typedef struct __jmp_buf_tag /* C++ doesn't like tagless structs. */ |