mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
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:
+2
-1
@@ -25,8 +25,9 @@
|
|||||||
* Included Files
|
* Included Files
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <nuttx/sched.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sched.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
|
|||||||
Reference in New Issue
Block a user