This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 94ef3f5b7bfbda784316ac2640c82275962aba9c Author: ouyangxiangzhen <[email protected]> AuthorDate: Tue Mar 17 14:41:23 2026 +0800 sched/hrtimer: Remove list.h and spinlock.h in hrtimer.h sched/hrtimer: Remove list.h and spinlock.h in hrtimer.h Assisted-By: mimo-v2.6-pro Signed-off-by: ouyangxiangzhen <[email protected]> --- include/nuttx/hrtimer.h | 3 +-- sched/hrtimer/hrtimer.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/hrtimer.h b/include/nuttx/hrtimer.h index 2ca213222e7..701a4ee8f54 100644 --- a/include/nuttx/hrtimer.h +++ b/include/nuttx/hrtimer.h @@ -30,8 +30,7 @@ #include <nuttx/config.h> #include <nuttx/clock.h> #include <nuttx/compiler.h> -#include <nuttx/spinlock.h> -#include <nuttx/list.h> +#include <nuttx/list_type.h> #include <stdint.h> #include <sys/tree.h> diff --git a/sched/hrtimer/hrtimer.h b/sched/hrtimer/hrtimer.h index 10b01323435..312256c0a58 100644 --- a/sched/hrtimer/hrtimer.h +++ b/sched/hrtimer/hrtimer.h @@ -31,6 +31,7 @@ #include <nuttx/arch.h> #include <nuttx/clock.h> #include <nuttx/hrtimer.h> +#include <nuttx/list.h> #include <nuttx/seqlock.h> #include "sched/sched.h"
