arch: Include nuttx/tls.h in *_assert.c

to avoid error: "invalid use of undefined type 'struct task_info_s'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-06-05 16:10:45 +08:00 committed by Petro Karashchenko
parent 118fd3902c
commit c52a19c8dc
3 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include <debug.h> #include <debug.h>
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/tls.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include <nuttx/syslog/syslog.h> #include <nuttx/syslog/syslog.h>

View File

@ -33,6 +33,7 @@
#include <syscall.h> #include <syscall.h>
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/tls.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include <nuttx/syslog/syslog.h> #include <nuttx/syslog/syslog.h>

View File

@ -31,6 +31,7 @@
#include <debug.h> #include <debug.h>
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/tls.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/syslog/syslog.h> #include <nuttx/syslog/syslog.h>