This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 3c4fec80f876c1bde053108b1b11381d792f2fc1 Author: Xiang Xiao <[email protected]> AuthorDate: Wed Jun 3 17:14:01 2020 +0800 libc: Fix warning: implicit declaration of function ‘strnlen’ Signed-off-by: Xiang Xiao <[email protected]> Change-Id: Ib2094a2ef0c3910e9b30685e73fc7012bf23a35f --- libs/libc/wchar/lib_mbsnrtowcs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/wchar/lib_mbsnrtowcs.c b/libs/libc/wchar/lib_mbsnrtowcs.c index 4bd5ecf..b1f133f 100644 --- a/libs/libc/wchar/lib_mbsnrtowcs.c +++ b/libs/libc/wchar/lib_mbsnrtowcs.c @@ -38,6 +38,7 @@ ****************************************************************************/ #include <sys/types.h> +#include <string.h> #include <wchar.h> #ifdef CONFIG_LIBC_WCHAR
