summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-01-16 20:46:20 +0000
committerotto <otto@openbsd.org>2004-01-16 20:46:20 +0000
commit6425fa7d4eef5145986902d97372bcf995b25bac (patch)
tree66a4f61cd9947e92269e11e11eb88728919fef8b /lib/libpthread/uthread
parentTest more ways of producing a positive infinity, and then test negative (diff)
downloadwireguard-openbsd-6425fa7d4eef5145986902d97372bcf995b25bac.tar.xz
wireguard-openbsd-6425fa7d4eef5145986902d97372bcf995b25bac.zip
Include correct includes to unbreak compilation on macppc. ok miod@
Diffstat (limited to 'lib/libpthread/uthread')
-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"
/*