diff options
author | Damien Miller <djm@mindrot.org> | 2015-08-21 15:45:02 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-08-21 15:45:02 +1000 |
commit | 189de02d9ad6f3645417c0ddf359b923aae5f926 (patch) | |
tree | 7dd7bb889c0580fd4ae00ee818ff50cb8e2e0a7b /openbsd-compat/bsd-poll.h | |
parent | e91346dc2bbf460246df2ab591b7613908c1b0ad (diff) |
expose POLLHUP and POLLNVAL for netcat.c
Diffstat (limited to 'openbsd-compat/bsd-poll.h')
-rw-r--r-- | openbsd-compat/bsd-poll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-poll.h b/openbsd-compat/bsd-poll.h index dcbb9ca40..17945f5b4 100644 --- a/openbsd-compat/bsd-poll.h +++ b/openbsd-compat/bsd-poll.h | |||
@@ -42,11 +42,11 @@ typedef unsigned int nfds_t; | |||
42 | #define POLLIN 0x0001 | 42 | #define POLLIN 0x0001 |
43 | #define POLLOUT 0x0004 | 43 | #define POLLOUT 0x0004 |
44 | #define POLLERR 0x0008 | 44 | #define POLLERR 0x0008 |
45 | #define POLLHUP 0x0010 | ||
46 | #define POLLNVAL 0x0020 | ||
45 | #if 0 | 47 | #if 0 |
46 | /* the following are currently not implemented */ | 48 | /* the following are currently not implemented */ |
47 | #define POLLPRI 0x0002 | 49 | #define POLLPRI 0x0002 |
48 | #define POLLHUP 0x0010 | ||
49 | #define POLLNVAL 0x0020 | ||
50 | #define POLLRDNORM 0x0040 | 50 | #define POLLRDNORM 0x0040 |
51 | #define POLLNORM POLLRDNORM | 51 | #define POLLNORM POLLRDNORM |
52 | #define POLLWRNORM POLLOUT | 52 | #define POLLWRNORM POLLOUT |