libc: Fix warning: implicit declaration of function ‘strnlen’

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ib2094a2ef0c3910e9b30685e73fc7012bf23a35f
This commit is contained in:
Xiang Xiao 2020-06-03 17:14:01 +08:00 committed by patacongo
parent c76443f456
commit 3c4fec80f8
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@
****************************************************************************/
#include <sys/types.h>
#include <string.h>
#include <wchar.h>
#ifdef CONFIG_LIBC_WCHAR