darwin90-ukernel-setjmp-conflict-20060927

FIXES 39354

setjmp isn't safe for #define KERNEL
This commit is contained in:
Derrick Brashear 2006-09-27 22:13:15 +00:00
parent 6a2ac1e2d4
commit 4bfe736b91

View File

@ -21,7 +21,9 @@
#include <limits.h>
#include <assert.h>
#include <stdarg.h>
#if !defined(AFS_USR_DARWIN_ENV) && !defined(AFS_USR_FBSD_ENV) /* must be included after KERNEL undef'd */
#include <setjmp.h>
#endif
#ifdef AFS_USR_SUN5_ENV
#include <signal.h>
@ -120,6 +122,7 @@
#define AFS_USR_UNDEF_KERNEL_ENV 1
#endif
#include <errno.h>
#include <setjmp.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>