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 9a3778cb913aca74545e965766d253dd3d8b4bde
Author: hongfengchen <[email protected]>
AuthorDate: Sat May 24 19:11:42 2025 +0800

    testing: add malloc.h for fstest.h
    
    Add malloc.h header file to fstest.h to fix missing malloc/free
    function declarations in filesystem test suites.
    
    Signed-off-by: hongfengchen <[email protected]>
---
 testing/testsuites/kernel/fs/include/fstest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/testsuites/kernel/fs/include/fstest.h 
b/testing/testsuites/kernel/fs/include/fstest.h
index 0a590bf88..050b587c8 100644
--- a/testing/testsuites/kernel/fs/include/fstest.h
+++ b/testing/testsuites/kernel/fs/include/fstest.h
@@ -31,6 +31,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
+#include <malloc.h>
 #include <string.h>
 #include <libgen.h>
 #include <dirent.h>

Reply via email to