=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/setjmp.h,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/include/setjmp.h 2003/06/02 19:34:12 1.4 --- src/include/setjmp.h 2005/12/13 00:35:22 1.5 *************** *** 1,4 **** ! /* $OpenBSD: setjmp.h,v 1.4 2003/06/02 19:34:12 millert Exp $ */ /* $NetBSD: setjmp.h,v 1.11 1994/12/20 10:35:44 cgd Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: setjmp.h,v 1.5 2005/12/13 00:35:22 millert Exp $ */ /* $NetBSD: setjmp.h,v 1.11 1994/12/20 10:35:44 cgd Exp $ */ /*- *************** *** 40,69 **** #ifndef _SETJMP_H_ #define _SETJMP_H_ #include ! #ifndef _ANSI_SOURCE typedef long sigjmp_buf[_JBLEN + 1]; ! #endif /* not ANSI */ typedef long jmp_buf[_JBLEN]; - #include - __BEGIN_DECLS int setjmp(jmp_buf); void longjmp(jmp_buf, int); ! #ifndef _ANSI_SOURCE int sigsetjmp(sigjmp_buf, int); void siglongjmp(sigjmp_buf, int); ! #endif /* not ANSI */ ! #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) int _setjmp(jmp_buf); void _longjmp(jmp_buf, int); void longjmperror(void); ! #endif /* neither ANSI nor POSIX */ __END_DECLS #endif /* !_SETJMP_H_ */ --- 40,68 ---- #ifndef _SETJMP_H_ #define _SETJMP_H_ + #include #include ! #if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE typedef long sigjmp_buf[_JBLEN + 1]; ! #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */ typedef long jmp_buf[_JBLEN]; __BEGIN_DECLS int setjmp(jmp_buf); void longjmp(jmp_buf, int); ! #if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE int sigsetjmp(sigjmp_buf, int); void siglongjmp(sigjmp_buf, int); ! #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE */ ! #if __BSD_VISIBLE || __XPG_VISIBLE int _setjmp(jmp_buf); void _longjmp(jmp_buf, int); void longjmperror(void); ! #endif /* __BSD_VISIBLE || __XPG_VISIBLE */ __END_DECLS #endif /* !_SETJMP_H_ */