Don't include errno.h from spawn.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-05-14 10:29:48 +08:00 committed by Alin Jerpelea
parent f07df9dfc8
commit 8afb16ca55
4 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,6 @@
#include <sched.h>
#include <signal.h>
#include <errno.h>
/****************************************************************************
* Pre-processor Definitions

View File

@ -27,6 +27,7 @@
#include <sys/wait.h>
#include <spawn.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/sched.h>
#include <nuttx/kthread.h>

View File

@ -28,6 +28,7 @@
#include <sched.h>
#include <spawn.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/sched.h>
#include <nuttx/kthread.h>

View File

@ -27,6 +27,7 @@
#include <fcntl.h>
#include <spawn.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/semaphore.h>
#include <nuttx/signal.h>