diff options
| -rw-r--r-- | components/drivers/src/pipe.c | 1 | ||||
| -rw-r--r-- | components/libc/termios/posix_termios.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/components/drivers/src/pipe.c b/components/drivers/src/pipe.c index 236c1ffec7..0e35248480 100644 --- a/components/drivers/src/pipe.c +++ b/components/drivers/src/pipe.c @@ -16,6 +16,7 @@ #include <dfs_file.h> #include <dfs_posix.h> #include <dfs_poll.h> +#include <sys/ioctl.h> static int pipe_fops_open(struct dfs_fd *fd) { 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 - |
