浏览代码

[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
 
-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"
 
 #ifdef RT_USING_POSIX_FS
+#include <fcntl.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/statfs.h>