summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-02-16 23:34:48 -0500
committerGitHub <[email protected]>2022-02-17 12:34:48 +0800
commit5ec00a5a1d5529fe41d5403e22990c9e86466723 (patch)
treeed524249581a1846dd8dad7056780ae3483c01b9
parent85dc9bd4a6e798c74f16a87bc91191907dfdbaf7 (diff)
[dmodule] 补充头文件 (#5602)
* add references * [dmodule] add <fcntl.h>
-rw-r--r--components/libc/compilers/armlibc/README.md4
-rw-r--r--components/libc/posix/libdl/dlmodule.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/components/libc/compilers/armlibc/README.md b/components/libc/compilers/armlibc/README.md
index fc0d750234..5f9d8a20ca 100644
--- a/components/libc/compilers/armlibc/README.md
+++ b/components/libc/compilers/armlibc/README.md
@@ -1,3 +1,5 @@
# ARMLIB (Keil-MDK) porting for RT-Thread
-https://www.keil.com/support/man/docs/armlib/ \ No newline at end of file
+https://www.keil.com/support/man/docs/armlib/
+
+https://www.keil.com/support/man/docs/armlib/armlib_chr1358938918041.htm \ No newline at end of file
diff --git a/components/libc/posix/libdl/dlmodule.c b/components/libc/posix/libdl/dlmodule.c
index ffa23de82d..d7f176acbd 100644
--- a/components/libc/posix/libdl/dlmodule.c
+++ b/components/libc/posix/libdl/dlmodule.c
@@ -15,6 +15,7 @@
#include "dlelf.h"
#ifdef RT_USING_POSIX_FS
+#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>