summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2013-01-01 18:42:39 +0000
committerdsl <dsl@NetBSD.org>2013-01-01 18:42:39 +0000
commit8f2575014d3326cdbaaede2547b80748f94ca1de (patch)
tree8cc477d250cf949f4306ceb6296c962d480de9ad /lib/libpthread/pthread.c
parent31493b94553ea2acb1483190550caa018d6c09a7 (diff)
Don't rely on sys/lwp.h includeing sys/resource.h for us.
Diffstat (limited to 'lib/libpthread/pthread.c')
-rw-r--r--lib/libpthread/pthread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c
index 2871f84f1a1..7442ce1b5a3 100644
--- a/lib/libpthread/pthread.c
+++ b/lib/libpthread/pthread.c
@@ -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/11/14 23:25:05 christos Exp $");
#include <sys/mman.h>
#include <sys/lwp.h>
#include <sys/lwpctl.h>
+#include <sys/resource.h>
#include <sys/tls.h>
#include <assert.h>