This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 0a9d3d2d2c7fb7b4d2b8e3ae58d6736e62697039
Author: Marco Casaroli <[email protected]>
AuthorDate: Fri Oct 9 16:06:32 2026 +0200

    netutils/codecs: Include errno.h in md5.c.
    
    md5_file() uses errno and ENOMEM but md5.c did not include <errno.h>.
    It compiled only because another header included it indirectly.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 netutils/codecs/md5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/netutils/codecs/md5.c b/netutils/codecs/md5.c
index ce7a9a26b..fe7b74bf0 100644
--- a/netutils/codecs/md5.c
+++ b/netutils/codecs/md5.c
@@ -52,6 +52,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdint.h>
+#include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
 

Reply via email to