You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/03/02 03:43:34 UTC

[nuttx] branch master updated: drivers/serial: Include spawn.h required by CONFIG_TTY_LAUNCH

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ced61ce08 drivers/serial: Include spawn.h required by CONFIG_TTY_LAUNCH
5ced61ce08 is described below

commit 5ced61ce08fc5549bcdb28bf68c3f9701ce431b6
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Thu Mar 2 09:51:21 2023 +0800

    drivers/serial: Include spawn.h required by CONFIG_TTY_LAUNCH
    
    Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
 drivers/serial/serial.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 0fda561818..302908e800 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -34,6 +34,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <debug.h>
+#include <spawn.h>
 
 #include <nuttx/irq.h>
 #include <nuttx/arch.h>