You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/03/06 16:52:40 UTC

[nuttx-apps] 01/02: nshlib: Include missing "sched.h" header

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 b61686b866ea62f894c29840379bb279846f923c
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Mon Mar 6 11:26:11 2023 -0300

    nshlib: Include missing "sched.h" header
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 nshlib/nsh_script.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nshlib/nsh_script.c b/nshlib/nsh_script.c
index 823acef29..9f8f5fdf2 100644
--- a/nshlib/nsh_script.c
+++ b/nshlib/nsh_script.c
@@ -25,6 +25,7 @@
 #include <nuttx/config.h>
 
 #include <fcntl.h>
+#include <sched.h>
 #include <unistd.h>
 
 #include "nsh.h"