execinfo.h: include nuttx/sched.h instead sched.h
beacause _SCHED_GETTID is in nuttx/sched.h, when use dump_stack() compile error log: unqlite.c:51256: undefined reference to `_SCHED_GETTID' Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
This commit is contained in:
parent
0e873b51c6
commit
7a4bd09e48
1 changed files with 2 additions and 1 deletions
|
@ -25,8 +25,9 @@
|
|||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/sched.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sched.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
Loading…
Reference in a new issue