diff options
Diffstat (limited to 'components/libc/compilers/common/unistd.c')
| -rw-r--r-- | components/libc/compilers/common/unistd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/libc/compilers/common/unistd.c b/components/libc/compilers/common/unistd.c index 04a0886655..4068fc5cf5 100644 --- a/components/libc/compilers/common/unistd.c +++ b/components/libc/compilers/common/unistd.c @@ -8,10 +8,11 @@ * 2020-09-01 Meco Man First Version */ -#include <termios.h> #include <unistd.h> #ifdef RT_USING_POSIX_TERMIOS +#include <termios.h> + int isatty(int fd) { struct termios ts; |
