summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 14fd8669..074963de 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -36,10 +36,14 @@
#include <kern/assert.h>
#include <kern/cpumap.h>
#include <kern/macros.h>
-#include <kern/types.h>
#include <machine/tcb.h>
/*
+ * Forward declaration
+ */
+struct spinlock;
+
+/*
* Thread structure.
*/
struct thread;