mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 01:38:36 +08:00
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 <yinshengkai@xiaomi.com>
This commit is contained in:
parent
b6397cd8d6
commit
700fd265ee
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sched.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include "sched/sched.h"
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <unistd.h>
|
||||
#include <sched.h>
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/irq.h>
|
||||
|
|
Loading…
Reference in a new issue