summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-05-13 10:56:35 +0000
committerngie <ngie@FreeBSD.org>2015-05-13 10:56:35 +0000
commit6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a (patch)
treedde9230c0c2c8b772783e92ce6e6321406320dfb /contrib
parentd1180c911c16179c89c3acbcbbbee5dc0aa05b84 (diff)
downloadFreeBSD-src-6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a.zip
FreeBSD-src-6dd60c5576415d6b4e7cd986ebe9cd2a67e34a9a.tar.gz
MFC r281966:
Add #include sys/types.h for register_t for mips
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/lib/libpthread/t_swapcontext.c3
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>
OpenPOWER on IntegriCloud