summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-01-16 20:46:21 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-01-16 20:46:21 +0000
commitb48394faee5072592e8fe8343bec378ee37490e0 (patch)
tree495f11fbceb65e255bcd0ac060e5897674d4f381
parent7317e942cfa29a56abdf29fbc27ec542c2739bc3 (diff)
Include correct includes to unbreak compilation on macppc. ok miod@
-rw-r--r--lib/libpthread/uthread/uthread_stackseg_np.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libpthread/uthread/uthread_stackseg_np.c b/lib/libpthread/uthread/uthread_stackseg_np.c
index 8ad09f971d7..2e168a0d531 100644
--- a/lib/libpthread/uthread/uthread_stackseg_np.c
+++ b/lib/libpthread/uthread/uthread_stackseg_np.c
@@ -1,20 +1,18 @@
-/* $OpenBSD: uthread_stackseg_np.c,v 1.1 2004/01/15 22:22:12 marc Exp $ */
+/* $OpenBSD: uthread_stackseg_np.c,v 1.2 2004/01/16 20:46:20 otto Exp $ */
/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
-#include <sys/types.h>
+#include <sys/param.h>
#include <sys/lock.h>
#include <sys/queue.h>
-#include <uvm/uvm_pmap.h>
-#include <machine/pmap.h>
-#include <machine/param.h>
-#include <machine/vmparam.h>
#include <errno.h>
#include <pthread.h>
#include <pthread_np.h>
#include <unistd.h>
+#include <uvm/uvm_extern.h>
+
#include "pthread_private.h"
/*