summaryrefslogtreecommitdiff
path: root/components/libc/termios
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-23 00:30:29 +0800
committerMeco Man <[email protected]>2021-05-23 00:30:29 +0800
commit07cab33b50107e71b9fb22230f07c33030e8fc82 (patch)
treee2598f90e0858a4594c338997be0f7f32360634a /components/libc/termios
parent5bce56473857e9145b34c77b4355494744838e37 (diff)
add sys/ioctl.h for pipe.c
Diffstat (limited to 'components/libc/termios')
-rw-r--r--components/libc/termios/posix_termios.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/libc/termios/posix_termios.c b/components/libc/termios/posix_termios.c
index 01ba010c86..1816bbae57 100644
--- a/components/libc/termios/posix_termios.c
+++ b/components/libc/termios/posix_termios.c
@@ -9,9 +9,7 @@
*/
#include <stdlib.h>
#include <string.h>
-#include <rtthread.h>
#include <dfs_posix.h>
-
#include <termios.h>
int tcgetattr(int fd, struct termios *tio)
@@ -128,4 +126,3 @@ int cfsetspeed(struct termios *tio, speed_t speed)
return cfsetospeed(tio, speed);
}
#endif
-