Module Name: src Committed By: dsl Date: Tue Jan 1 18:42:39 UTC 2013
Modified Files: src/lib/libpthread: pthread.c Log Message: Don't rely on sys/lwp.h includeing sys/resource.h for us. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/lib/libpthread/pthread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libpthread/pthread.c diff -u src/lib/libpthread/pthread.c:1.141 src/lib/libpthread/pthread.c:1.142 --- src/lib/libpthread/pthread.c:1.141 Wed Nov 14 23:25:05 2012 +++ src/lib/libpthread/pthread.c Tue Jan 1 18:42:39 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pthread.c,v 1.141 2012/11/14 23:25:05 christos Exp $ */ +/* $NetBSD: pthread.c,v 1.142 2013/01/01 18:42:39 dsl Exp $ */ /*- * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread.c,v 1.141 2012/11/14 23:25:05 christos Exp $"); +__RCSID("$NetBSD: pthread.c,v 1.142 2013/01/01 18:42:39 dsl Exp $"); #define __EXPOSE_STACK 1 @@ -39,6 +39,7 @@ __RCSID("$NetBSD: pthread.c,v 1.141 2012 #include <sys/mman.h> #include <sys/lwp.h> #include <sys/lwpctl.h> +#include <sys/resource.h> #include <sys/tls.h> #include <assert.h>