summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
author192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
committer192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
commit6378f95f00fd51410d2715da55d728d4a40494de (patch)
treebb46a565875d538189e1c1dfc9b1cfddf6862a92 /src/thread.c
parentd6b05287bbeaf9369546009e5af445f350b97fe9 (diff)
parent462f093cbd7531098de3b7aadb5f8d5f1b99b4a9 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index ab5264053e..6256deaf82 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -31,6 +31,7 @@
#include <rthw.h>
#include <rtthread.h>
+#include <stddef.h>
#ifdef RT_USING_HOOK
static void (*rt_thread_suspend_hook)(rt_thread_t thread);