svn commit: r281966 - head/contrib/netbsd-tests/lib/libpthread

Garrett Cooper ngie at FreeBSD.org
Sat Apr 25 04:30:02 UTC 2015


Author: ngie
Date: Sat Apr 25 04:30:01 2015
New Revision: 281966
URL: https://svnweb.freebsd.org/changeset/base/281966

Log:
  Add #include sys/types.h for register_t for mips
  
  MFC after: 3 days

Modified:
  head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c

Modified: head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c	Sat Apr 25 01:29:40 2015	(r281965)
+++ head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c	Sat Apr 25 04:30:01 2015	(r281966)
@@ -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>


More information about the svn-src-head mailing list