From 700fd265ee7d74943b209a3b6a2efec1eb73f41f Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Wed, 29 Mar 2023 18:17:45 +0800 Subject: [PATCH] sched: fix compile error when SCHED_CRITMONITOR is enabled Compilation error occurs after SCHED_CRITMONITOR is enabled sched/sched_critmonitor.c:315: undefined reference to `serr' Signed-off-by: yinshengkai --- sched/sched/sched_critmonitor.c | 1 + sched/wdog/wd_start.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sched/sched/sched_critmonitor.c b/sched/sched/sched_critmonitor.c index db504fb53c..f9f883ccb3 100644 --- a/sched/sched/sched_critmonitor.c +++ b/sched/sched/sched_critmonitor.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "sched/sched.h" diff --git a/sched/wdog/wd_start.c b/sched/wdog/wd_start.c index bdf9f23cf5..1d90a02008 100644 --- a/sched/wdog/wd_start.c +++ b/sched/wdog/wd_start.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include