diff options
author | ngie <ngie@FreeBSD.org> | 2015-05-13 10:56:35 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-05-13 10:56:35 +0000 |
commit | 6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a (patch) | |
tree | dde9230c0c2c8b772783e92ce6e6321406320dfb /contrib/netbsd-tests/lib/libpthread/t_swapcontext.c | |
parent | d1180c911c16179c89c3acbcbbbee5dc0aa05b84 (diff) | |
download | FreeBSD-src-6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a.zip FreeBSD-src-6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a.tar.gz |
MFC r281966:
Add #include sys/types.h for register_t for mips
Diffstat (limited to 'contrib/netbsd-tests/lib/libpthread/t_swapcontext.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libpthread/t_swapcontext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c b/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c index 8fd2314..c0c375f 100644 --- a/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c +++ b/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c @@ -28,6 +28,9 @@ #include <sys/cdefs.h> __RCSID("$NetBSD"); +#ifdef __FreeBSD__ +#include <sys/types.h> +#endif #include <pthread.h> #include <ucontext.h> #include <stdio.h> |