This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit da7d9e373731d06ec6afaf32d992bd98e66ed4b7 Author: Gustavo Henrique Nihei <[email protected]> AuthorDate: Mon Mar 6 11:26:40 2023 -0300 system/nsh: Include missing "unistd.h" header Signed-off-by: Gustavo Henrique Nihei <[email protected]> --- system/nsh/nsh_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/system/nsh/nsh_main.c b/system/nsh/nsh_main.c index 01fcb2a6f..6a82938ee 100644 --- a/system/nsh/nsh_main.c +++ b/system/nsh/nsh_main.c @@ -24,12 +24,13 @@ #include <nuttx/config.h> -#include <sys/stat.h> -#include <sys/boardctl.h> +#include <errno.h> +#include <sched.h> #include <stdint.h> #include <stdio.h> -#include <sched.h> -#include <errno.h> +#include <sys/boardctl.h> +#include <sys/stat.h> +#include <unistd.h> #include "nshlib/nshlib.h"
