svn commit: r282849 - stable/10/contrib/netbsd-tests/lib/libpthread

Garrett Cooper ngie at FreeBSD.org
Wed May 13 10:56:36 UTC 2015


Author: ngie
Date: Wed May 13 10:56:35 2015
New Revision: 282849
URL: https://svnweb.freebsd.org/changeset/base/282849

Log:
  MFC r281966:
  
  Add #include sys/types.h for register_t for mips

Modified:
  stable/10/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
==============================================================================
--- stable/10/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c	Wed May 13 10:53:16 2015	(r282848)
+++ stable/10/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c	Wed May 13 10:56:35 2015	(r282849)
@@ -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-all mailing list