Date: Fri, 17 Apr 2015 19:21:12 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r281662 - user/ngie/fix-progs/contrib/netbsd-tests/lib/libpthread Message-ID: <201504171921.t3HJLC09040255@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Apr 17 19:21:11 2015 New Revision: 281662 URL: https://svnweb.freebsd.org/changeset/base/281662 Log: Fix the mips tinderbox by #include'ing sys/types.h for register_t It dumbfounds me how every other architectures' header pollution is greater than mips.. Modified: user/ngie/fix-progs/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Modified: user/ngie/fix-progs/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c ============================================================================== --- user/ngie/fix-progs/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Fri Apr 17 18:33:59 2015 (r281661) +++ user/ngie/fix-progs/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Fri Apr 17 19:21:11 2015 (r281662) @@ -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?201504171921.t3HJLC09040255>