4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-27 23:37:03 +08:00

add sys/ioctl.h for pipe.c

This commit is contained in:
Meco Man 2021-05-23 00:30:29 +08:00
parent 5bce564738
commit 07cab33b50
2 changed files with 1 additions and 3 deletions

View File

@ -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)
{

View File

@ -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