소스 검색

[dmodule] 补充头文件 (#5602)

* add references

* [dmodule] add <fcntl.h>
Man, Jianting (Meco) 3 년 전
부모
커밋
5ec00a5a1d
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      components/libc/compilers/armlibc/README.md
  2. 1 0
      components/libc/posix/libdl/dlmodule.c

+ 3 - 1
components/libc/compilers/armlibc/README.md

@@ -1,3 +1,5 @@
 # ARMLIB (Keil-MDK) porting for RT-Thread
 # ARMLIB (Keil-MDK) porting for RT-Thread
 
 
-https://www.keil.com/support/man/docs/armlib/
+https://www.keil.com/support/man/docs/armlib/
+
+https://www.keil.com/support/man/docs/armlib/armlib_chr1358938918041.htm

+ 1 - 0
components/libc/posix/libdl/dlmodule.c

@@ -15,6 +15,7 @@
 #include "dlelf.h"
 #include "dlelf.h"
 
 
 #ifdef RT_USING_POSIX_FS
 #ifdef RT_USING_POSIX_FS
+#include <fcntl.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <sys/statfs.h>
 #include <sys/statfs.h>