kib a05a278552 POSIX states that #include <signal.h> shall make both mcontext_t and
ucontext_t available.  Our code even has XXX comment about this.

Add a bit of compliance by moving struct __ucontext definition into
sys/_ucontext.h and including it into signal.h and sys/ucontext.h.

Several machine/ucontext.h headers were changed to use namespace-safe
types (like uint64_t->__uint64_t) to not depend on sys/types.h.
struct __stack_t from sys/signal.h is made always visible in private
namespace to satisfy sys/_ucontext.h requirements.

Apparently mips _types.h pollutes global namespace with f_register_t
type definition.  This commit does not try to fix the issue.

PR:	207079
Reported and tested by:	Ting-Wei Lan <lantw44@gmail.com>
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-02-12 07:38:19 +00:00
..
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-10-13 20:43:49 +00:00
2015-10-13 20:43:49 +00:00
2011-12-29 14:41:17 +00:00
2015-10-13 20:43:49 +00:00
2014-07-11 16:16:26 +00:00
2011-12-20 22:56:13 +00:00
2015-06-16 23:37:19 +00:00
2011-12-25 20:15:41 +00:00
2015-05-15 20:43:37 +00:00
2013-05-25 16:58:12 +00:00
2015-11-05 14:55:58 +00:00
2015-10-13 20:43:49 +00:00