summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread.h
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-06 11:49:00 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-06 11:49:00 +0000
commit90a1f2aa7a0e0bb6f2e311f3e57c79c148a1711f (patch)
treebbd0be9ad01c1d60bc99d3a74af048f3377f67c2 /lib/librthread/rthread.h
parentc6163b435492011bff9f8e457cc5825f7361fa53 (diff)
Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes
Diffstat (limited to 'lib/librthread/rthread.h')
-rw-r--r--lib/librthread/rthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librthread/rthread.h b/lib/librthread/rthread.h
index c0dc626ca9f..739ec7fa31d 100644
--- a/lib/librthread/rthread.h
+++ b/lib/librthread/rthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.h,v 1.26 2011/10/17 06:39:20 guenther Exp $ */
+/* $OpenBSD: rthread.h,v 1.27 2011/11/06 11:48:59 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -27,6 +27,7 @@
#include <sys/queue.h>
#include <semaphore.h>
+#include <machine/spinlock.h>
#include <machine/tcb.h> /* for TLS_VARIANT */
#ifdef __LP64__