Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2015 04:30:01 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281966 - head/contrib/netbsd-tests/lib/libpthread
Message-ID:  <201504250430.t3P4U1FR044477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504250430.t3P4U1FR044477>