summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-poll.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-08-21 15:45:02 +1000
committerDamien Miller <djm@mindrot.org>2015-08-21 15:45:02 +1000
commit189de02d9ad6f3645417c0ddf359b923aae5f926 (patch)
tree7dd7bb889c0580fd4ae00ee818ff50cb8e2e0a7b /openbsd-compat/bsd-poll.h
parente91346dc2bbf460246df2ab591b7613908c1b0ad (diff)
expose POLLHUP and POLLNVAL for netcat.c
Diffstat (limited to 'openbsd-compat/bsd-poll.h')
-rw-r--r--openbsd-compat/bsd-poll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-poll.h b/openbsd-compat/bsd-poll.h
index dcbb9ca4..17945f5b 100644
--- a/openbsd-compat/bsd-poll.h
+++ b/openbsd-compat/bsd-poll.h
@@ -42,11 +42,11 @@ typedef unsigned int nfds_t;
#define POLLIN 0x0001
#define POLLOUT 0x0004
#define POLLERR 0x0008
+#define POLLHUP 0x0010
+#define POLLNVAL 0x0020
#if 0
/* the following are currently not implemented */
#define POLLPRI 0x0002
-#define POLLHUP 0x0010
-#define POLLNVAL 0x0020
#define POLLRDNORM 0x0040
#define POLLNORM POLLRDNORM
#define POLLWRNORM POLLOUT