This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 700fd265ee sched: fix compile error when SCHED_CRITMONITOR is enabled 700fd265ee is described below commit 700fd265ee7d74943b209a3b6a2efec1eb73f41f Author: yinshengkai <yinsheng...@xiaomi.com> AuthorDate: Wed Mar 29 18:17:45 2023 +0800 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 <yinsheng...@xiaomi.com> --- 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 <sys/types.h> #include <sched.h> #include <assert.h> +#include <debug.h> #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 <unistd.h> #include <sched.h> #include <assert.h> +#include <debug.h> #include <errno.h> #include <nuttx/irq.h>