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 b68b5b38..59e17ad7 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -22,11 +22,15 @@
#include <kern/list.h>
#include <kern/macros.h>
#include <kern/param.h>
-#include <kern/task.h>
#include <machine/cpu.h>
#include <machine/tcb.h>
/*
+ * Forward declaration.
+ */
+struct task;
+
+/*
* Thread name buffer size.
*/
#define THREAD_NAME_SIZE 32