mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 02:47:06 +08:00
add sys/ioctl.h for pipe.c
This commit is contained in:
parent
5bce564738
commit
07cab33b50
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user