summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-12-07 23:54:44 +0800
committerGitHub <[email protected]>2021-12-07 23:54:44 +0800
commitfd9eea2f7ff88862d61687e0376ad8b884693db9 (patch)
tree91ad2bfaa54762f2131f018654b66ae6e23e9106 /components/drivers
parentbe089df1289cb8cea957a867daafbaf33a8b5350 (diff)
parent67e14adc4f0dfbaef4762e383a5328add42f6cf5 (diff)
Merge pull request #5334 from mysterywolf/posix
[posix] 按照高级unix环境编程整理IO类别
Diffstat (limited to 'components/drivers')
-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. */