summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroger <[email protected]>2020-03-30 15:59:44 +0800
committerroger <[email protected]>2020-03-30 15:59:44 +0800
commit63a82cac479da5bcca612de4f6817d6075b59023 (patch)
treea381447e79e328a3b4c8bbdeb9912a8c716914b1
parent8601850a2171f352875b08b03ac34cf9d722bb92 (diff)
在posix_termios.c中引用termios.h
-rw-r--r--components/libc/termios/posix_termios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/termios/posix_termios.c b/components/libc/termios/posix_termios.c
index 6312529abb..f25048e652 100644
--- a/components/libc/termios/posix_termios.c
+++ b/components/libc/termios/posix_termios.c
@@ -11,6 +11,8 @@
#include <string.h>
#include <rtthread.h>
#include <dfs_posix.h>
+#include <termios.h>
+
int tcgetattr(int fd, struct termios *tio)
{