This is an automated email from the ASF dual-hosted git repository.
ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 9e31a26ed Fix nsh_altconsole.c:152:41: error: implicit declaration of
function 'strlen'
9e31a26ed is described below
commit 9e31a26edc3e821188abd95a662cec68ed5707d0
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Sep 25 20:47:38 2023 +0800
Fix nsh_altconsole.c:152:41: error: implicit declaration of function
'strlen'
Signed-off-by: Xiang Xiao <[email protected]>
---
nshlib/nsh_altconsole.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/nshlib/nsh_altconsole.c b/nshlib/nsh_altconsole.c
index 831725f4f..4f6cb5bd6 100644
--- a/nshlib/nsh_altconsole.c
+++ b/nshlib/nsh_altconsole.c
@@ -29,6 +29,7 @@
#include <fcntl.h>
#include <assert.h>
#include <debug.h>
+#include <string.h>
#include "nsh.h"
#include "nsh_console.h"