aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-02-05 01:02:51 +0000
committerDavid Schultz <das@FreeBSD.org>2005-02-05 01:02:51 +0000
commitaf8730a1d8018566e88d6d72ac2e6fbf60b21944 (patch)
tree59a7c45b0b45d694f5f29ae4d10d161d641cc193 /lib
parentc5362a234034426ea65442e58f4c5d5b1fe7c227 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/uthread/pthread_private.h5
-rw-r--r--lib/libc_r/uthread/uthread_init.c1
-rw-r--r--lib/libc_r/uthread/uthread_jmp.c1
-rw-r--r--lib/libc_r/uthread/uthread_stack.c1
-rw-r--r--lib/libthr/thread/thr_init.c1
-rw-r--r--lib/libthr/thread/thr_private.h5
-rw-r--r--lib/libthr/thread/thr_stack.c1
7 files changed, 10 insertions, 5 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index f83e2f4b26175..ecd330c7b46bb 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_private.h
@@ -52,6 +52,7 @@
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
+#include <sys/param.h>
#include <sys/queue.h>
#include <sys/types.h>
#include <sys/time.h>
@@ -60,6 +61,10 @@
#include <spinlock.h>
#include <ucontext.h>
#include <pthread_np.h>
+#include <vm/vm.h>
+#include <vm/vm_param.h>
+#include <vm/pmap.h>
+#include <vm/vm_map.h>
/*
* Define machine dependent macros to get and set the stack pointer
diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c
index d3a2b45617d44..fadc277e7f443 100644
--- a/lib/libc_r/uthread/uthread_init.c
+++ b/lib/libc_r/uthread/uthread_init.c
@@ -49,7 +49,6 @@
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/ttycom.h>
-#include <sys/user.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include <dirent.h>
diff --git a/lib/libc_r/uthread/uthread_jmp.c b/lib/libc_r/uthread/uthread_jmp.c
index df9759fb81dc4..5aa0001819bae 100644
--- a/lib/libc_r/uthread/uthread_jmp.c
+++ b/lib/libc_r/uthread/uthread_jmp.c
@@ -34,7 +34,6 @@
#include <unistd.h>
#include <setjmp.h>
#include <sys/param.h>
-#include <sys/user.h>
#include <machine/reg.h>
#include <pthread.h>
#include "pthread_private.h"
diff --git a/lib/libc_r/uthread/uthread_stack.c b/lib/libc_r/uthread/uthread_stack.c
index 63fa4cdba10cf..b2f3f57bca666 100644
--- a/lib/libc_r/uthread/uthread_stack.c
+++ b/lib/libc_r/uthread/uthread_stack.c
@@ -31,7 +31,6 @@
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/queue.h>
-#include <sys/user.h>
#include <stdlib.h>
#include <pthread.h>
#include "un-namespace.h"
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 548474d653165..3291738490cc3 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -49,7 +49,6 @@
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/ttycom.h>
-#include <sys/user.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include <dirent.h>
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
index 02ad3b101e9ee..413d982c141ed 100644
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -54,6 +54,7 @@
#include <sys/errno.h>
#include <sys/msg.h>
#include <sys/time.h>
+#include <sys/param.h>
#include <sys/queue.h>
#include <pthread_np.h>
#include <sched.h>
@@ -69,6 +70,10 @@
#include <machine/atomic.h>
#include <sys/thr.h>
#include <sys/umtx.h>
+#include <vm/vm.h>
+#include <vm/vm_param.h>
+#include <vm/pmap.h>
+#include <vm/vm_map.h>
#if defined(_PTHREADS_INVARIANTS)
/*
diff --git a/lib/libthr/thread/thr_stack.c b/lib/libthr/thread/thr_stack.c
index b4063ad564ffe..2b6ba8e4f0d47 100644
--- a/lib/libthr/thread/thr_stack.c
+++ b/lib/libthr/thread/thr_stack.c
@@ -30,7 +30,6 @@
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/queue.h>
-#include <sys/user.h>
#include <stdlib.h>
#include <pthread.h>
#include "thr_private.h"