diff options
| author | roger <[email protected]> | 2020-03-30 15:21:58 +0800 |
|---|---|---|
| committer | roger <[email protected]> | 2020-03-30 15:21:58 +0800 |
| commit | 8601850a2171f352875b08b03ac34cf9d722bb92 (patch) | |
| tree | b5108ab5defb32b274b62181e7a136fba14c30c7 /components/libc | |
| parent | 9c544e069cfb13eeb1905cbcb0b913f8fa7e6dff (diff) | |
first commit
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/termios/posix_termios.c | 2 | ||||
| -rw-r--r-- | components/libc/termios/posix_termios.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/termios/posix_termios.c b/components/libc/termios/posix_termios.c index 75c876dd33..6312529abb 100644 --- a/components/libc/termios/posix_termios.c +++ b/components/libc/termios/posix_termios.c @@ -12,8 +12,6 @@ #include <rtthread.h> #include <dfs_posix.h> -#include <termios.h> - int tcgetattr(int fd, struct termios *tio) { /* Get the current serial port settings. */ diff --git a/components/libc/termios/posix_termios.h b/components/libc/termios/posix_termios.h index 4f556d79d9..6d4be129ff 100644 --- a/components/libc/termios/posix_termios.h +++ b/components/libc/termios/posix_termios.h @@ -11,6 +11,7 @@ #define TERMIOS_H__ #include <rtthread.h> +#include <termios.h> #ifdef __cplusplus extern "C" { |
