summaryrefslogtreecommitdiff
path: root/components/drivers/serial
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-12-05 18:52:59 -0500
committerMeco Man <[email protected]>2021-12-05 23:07:41 -0500
commit67e14adc4f0dfbaef4762e383a5328add42f6cf5 (patch)
tree8a35775d716f5ca3f2d4bf8fc5caf58e0bc0ed40 /components/drivers/serial
parent3dd1aa754c0ca9e8c5df0d3b3c98942d115149b1 (diff)
[posix] 按照高级unix环境编程整理IO类别
Diffstat (limited to 'components/drivers/serial')
-rw-r--r--components/drivers/serial/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/serial/serial.c b/components/drivers/serial/serial.c
index 0e944b5e95..6f7e7d5b2b 100644
--- a/components/drivers/serial/serial.c
+++ b/components/drivers/serial/serial.c
@@ -42,7 +42,7 @@
#include <sys/ioctl.h>
#ifdef RT_USING_POSIX_TERMIOS
-#include <posix_termios.h>
+#include <termios.h>
#endif
/* it's possible the 'getc/putc' is defined by stdio.h in gcc/newlib. */