pm_runtime: fix missing header

if the sched.h not included by header already inside .c will cause
sched_idletask not defined

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen 2024-08-03 00:12:36 +08:00 committed by Xiang Xiao
parent 3fdff878bc
commit eae0dfd641

View File

@ -27,6 +27,7 @@
#include <debug.h>
#include <assert.h>
#include <errno.h>
#include <sched.h>
#include <nuttx/clock.h>
#include <nuttx/power/pm_runtime.h>
#include <sched/sched.h>