Przeglądaj źródła

[libc] Fix the rtconfig issue in armlibc/unistd.h file.

Bernard Xiong 9 lat temu
rodzic
commit
33cda0866f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      components/libc/armlibc/sys/unistd.h

+ 2 - 0
components/libc/armlibc/sys/unistd.h

@@ -1,6 +1,8 @@
 #ifndef _SYS_UNISTD_H
 #define _SYS_UNISTD_H
 
+#include <rtthread.h>
+
 #ifdef RT_USING_DFS
 #include <dfs_posix.h>
 #else