testing: add missing header files

Add missing header files in netutils and lsan modules to fix
implicit function declarations and improve compilation compatibility.

Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
This commit is contained in:
hongfengchen 2025-05-22 10:54:17 +08:00 committed by Xiang Xiao
parent 9a3778cb91
commit b56c785640
4 changed files with 6 additions and 0 deletions

View file

@ -8,3 +8,6 @@ exclude-file = .codespell-ignore-lines
# Ignore complete files (e.g. legal text or other immutable material).
skip =
LICENSE,
# Ignore words list (FTP protocol commands and technical terms)
ignore-words-list = ALLO

View file

@ -53,6 +53,7 @@
#include <string.h>
#include <stdint.h>
#include <fcntl.h>
#include <unistd.h>
#include "netutils/md5.h"

View file

@ -48,6 +48,7 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <dirent.h>
#include <strings.h>

View file

@ -26,6 +26,7 @@
#include <nuttx/config.h>
#include <stdio.h>
#include <unistd.h>
/****************************************************************************
* Public Functions