From 8601850a2171f352875b08b03ac34cf9d722bb92 Mon Sep 17 00:00:00 2001 From: roger Date: Mon, 30 Mar 2020 15:21:58 +0800 Subject: [PATCH] first commit --- components/libc/termios/posix_termios.c | 2 -- components/libc/termios/posix_termios.h | 1 + 2 files changed, 1 insertion(+), 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 #include -#include - 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 +#include #ifdef __cplusplus extern "C" {