diff options
| author | mysterywolf <[email protected]> | 2020-09-02 10:33:37 +0800 |
|---|---|---|
| committer | mysterywolf <[email protected]> | 2020-09-02 10:33:37 +0800 |
| commit | 5721fa8990e4178a427564a1e546df507c87c2b4 (patch) | |
| tree | 08f4a616a2a254bc4520ae946b578e4e167efe27 | |
| parent | a162640f89933847d411513e69082325538411df (diff) | |
Signed-off-by: mysterywolf
| -rw-r--r-- | components/libc/compilers/armlibc/fcntl.h | 2 | ||||
| -rw-r--r-- | components/libc/compilers/dlib/sys/unistd.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/components/libc/compilers/armlibc/fcntl.h b/components/libc/compilers/armlibc/fcntl.h index 80cf1b4409..3e650a8471 100644 --- a/components/libc/compilers/armlibc/fcntl.h +++ b/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 diff --git a/components/libc/compilers/dlib/sys/unistd.h b/components/libc/compilers/dlib/sys/unistd.h index 29f68f24f8..9564daba8d 100644 --- a/components/libc/compilers/dlib/sys/unistd.h +++ b/components/libc/compilers/dlib/sys/unistd.h @@ -36,4 +36,8 @@ #endif + +int isatty (int fd); +char * ttyname (int desc); + #endif /* _SYS_UNISTD_H */ |
