summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authorguo <[email protected]>2021-12-02 10:09:37 +0800
committerGitHub <[email protected]>2021-12-02 10:09:37 +0800
commitfda37d55f8363d97dfc31c8e86b014c04cda2c10 (patch)
tree66742824f17fc0f221732fde4d1a15402b7a8554 /src/thread.c
parent1d4594c6fcad494ef256c9bbd8aa7d64132a0995 (diff)
parent1cf8370b1ba5eca639e4b976f1e878753ee41548 (diff)
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
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);