mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Hide ucontext_t and mcontext_t when neither POSIX nor XSI features are
enabled in the compilation environment, i.e. for ANSI C use of #include <signal.h>. Requested and reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after: 13 days
This commit is contained in:
parent
007a703036
commit
2dd7d0560a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295602
@ -36,8 +36,10 @@
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/_types.h>
|
||||
#include <sys/signal.h>
|
||||
#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
|
||||
#include <machine/ucontext.h>
|
||||
#include <sys/_ucontext.h>
|
||||
#endif
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user