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
commit 40848c955343fefddc8ecf5b664487121a05e0ff Author: yangao1 <[email protected]> AuthorDate: Tue Dec 30 14:53:25 2025 +0800 builtin.h:remove userspace.h to avoid circular dependency use forward declare to prevent circular dependency Signed-off-by: yangao1 <[email protected]> Signed-off-by: wangjianyu3 <[email protected]> --- include/nuttx/lib/builtin.h | 1 - libs/libc/builtin/lib_builtin_forindex.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/lib/builtin.h b/include/nuttx/lib/builtin.h index a8392cfddf7..bd17a25753f 100644 --- a/include/nuttx/lib/builtin.h +++ b/include/nuttx/lib/builtin.h @@ -29,7 +29,6 @@ #include <nuttx/config.h> #include <sys/types.h> -#include <nuttx/userspace.h> #ifdef CONFIG_APP_REGISTRY diff --git a/libs/libc/builtin/lib_builtin_forindex.c b/libs/libc/builtin/lib_builtin_forindex.c index 9fc1345edef..788b0de7dd6 100644 --- a/libs/libc/builtin/lib_builtin_forindex.c +++ b/libs/libc/builtin/lib_builtin_forindex.c @@ -27,6 +27,7 @@ #include <nuttx/config.h> #include <nuttx/lib/builtin.h> +#include <nuttx/userspace.h> /**************************************************************************** * Public Functions
