libc/sched/sched_backtrace.c: Include unistd.h to avoid warning about

getpid function.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-09-21 13:08:41 +02:00 committed by Gustavo Henrique Nihei
parent 9f4d7e4767
commit 0aa4f07e93

View File

@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <unistd.h>
#include <execinfo.h>
#include <unwind.h>