aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/ch.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/include/ch.h')
-rw-r--r--os/rt/include/ch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/rt/include/ch.h b/os/rt/include/ch.h
index a8cc7ac81..bd8fe92d3 100644
--- a/os/rt/include/ch.h
+++ b/os/rt/include/ch.h
@@ -62,6 +62,10 @@
#define CH_KERNEL_PATCH 0
/** @} */
+/* Required forward declaration, knowledge of this type is required by all
+ modules.*/
+typedef struct thread thread_t;
+
/* Core headers.*/
#include "chtypes.h"
#include "chconf.h"