Browse Source

Signed-off-by: mysterywolf

mysterywolf 4 years ago
parent
commit
5721fa8990

+ 2 - 0
components/libc/compilers/armlibc/fcntl.h

@@ -9,6 +9,8 @@
 #ifndef FCNTL_H__
 #define FCNTL_H__
 
+#include <rtconfig.h>
+
 #ifdef RT_USING_DFS
 #include <dfs_posix.h>
 #endif

+ 4 - 0
components/libc/compilers/dlib/sys/unistd.h

@@ -36,4 +36,8 @@
 
 #endif
 
+
+int     isatty      (int fd);
+char *  ttyname     (int desc);
+
 #endif /* _SYS_UNISTD_H */