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-apps.git
commit b56c785640c1b7efdd4af93014eaa3919c1894b1 Author: hongfengchen <[email protected]> AuthorDate: Thu May 22 10:54:17 2025 +0800 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 <[email protected]> --- .codespellrc | 3 +++ netutils/codecs/md5.c | 1 + netutils/ftpd/ftpd.c | 1 + system/lsan/lsan_main.c | 1 + 4 files changed, 6 insertions(+) diff --git a/.codespellrc b/.codespellrc index 442f4656c..ac22a4c37 100644 --- a/.codespellrc +++ b/.codespellrc @@ -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 diff --git a/netutils/codecs/md5.c b/netutils/codecs/md5.c index 75dfe3f0c..dade6abd1 100644 --- a/netutils/codecs/md5.c +++ b/netutils/codecs/md5.c @@ -53,6 +53,7 @@ #include <string.h> #include <stdint.h> #include <fcntl.h> +#include <unistd.h> #include "netutils/md5.h" diff --git a/netutils/ftpd/ftpd.c b/netutils/ftpd/ftpd.c index 12491030a..4f5cc4667 100644 --- a/netutils/ftpd/ftpd.c +++ b/netutils/ftpd/ftpd.c @@ -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> diff --git a/system/lsan/lsan_main.c b/system/lsan/lsan_main.c index d0c8a06ea..f4a1f8579 100644 --- a/system/lsan/lsan_main.c +++ b/system/lsan/lsan_main.c @@ -26,6 +26,7 @@ #include <nuttx/config.h> #include <stdio.h> +#include <unistd.h> /**************************************************************************** * Public Functions
