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:
wangbowen6 2023-02-22 21:09:59 +08:00 committed by Xiang Xiao
parent 0e873b51c6
commit 7a4bd09e48

View file

@ -25,8 +25,9 @@
* Included Files
****************************************************************************/
#include <nuttx/sched.h>
#include <sys/types.h>
#include <sched.h>
/****************************************************************************
* Pre-processor Definitions