提交 07cab33b 编写于 作者: mysterywolf's avatar mysterywolf

add sys/ioctl.h for pipe.c

上级 5bce5647
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <dfs_file.h> #include <dfs_file.h>
#include <dfs_posix.h> #include <dfs_posix.h>
#include <dfs_poll.h> #include <dfs_poll.h>
#include <sys/ioctl.h>
static int pipe_fops_open(struct dfs_fd *fd) static int pipe_fops_open(struct dfs_fd *fd)
{ {
......
...@@ -9,9 +9,7 @@ ...@@ -9,9 +9,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <rtthread.h>
#include <dfs_posix.h> #include <dfs_posix.h>
#include <termios.h> #include <termios.h>
int tcgetattr(int fd, struct termios *tio) int tcgetattr(int fd, struct termios *tio)
...@@ -128,4 +126,3 @@ int cfsetspeed(struct termios *tio, speed_t speed) ...@@ -128,4 +126,3 @@ int cfsetspeed(struct termios *tio, speed_t speed)
return cfsetospeed(tio, speed); return cfsetospeed(tio, speed);
} }
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册