blob: d608abf2ddcc287c25a390f6a3e06f9aae7ce8b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef _HACK_POLL_H_
#define _HACK_POLL_H_
#include <hurd/hurd_types.h>
#define POLLIN SELECT_READ
#define POLLRDNORM SELECT_READ
#define POLLOUT SELECT_WRITE
#define POLLWRNORM SELECT_WRITE
#define POLLWRBAND SELECT_WRITE
#define POLLPRI SELECT_URG
#define POLLERR 0
#define POLLHUP 0
typedef struct poll_table_struct { } poll_table;
#include <linux/sched.h>
static inline void
poll_wait(struct file * filp, struct wait_queue ** wait_address, poll_table *p)
{
}
#endif
|