Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Don't rely on sys/lwp.h includeing sys/resour...



details:   https://anonhg.NetBSD.org/src/rev/0f7096262ab8
branches:  trunk
changeset: 783626:0f7096262ab8
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Jan 01 18:42:39 2013 +0000

description:
Don't rely on sys/lwp.h includeing sys/resource.h for us.

diffstat:

 lib/libpthread/pthread.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 86a4aeba7d0a -r 0f7096262ab8 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Tue Jan 01 18:32:17 2013 +0000
+++ b/lib/libpthread/pthread.c  Tue Jan 01 18:42:39 2013 +0000
@@ -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 @@
 #include <sys/mman.h>
 #include <sys/lwp.h>
 #include <sys/lwpctl.h>
+#include <sys/resource.h>
 #include <sys/tls.h>
 
 #include <assert.h>



Home | Main Index | Thread Index | Old Index