summaryrefslogtreecommitdiff
path: root/pfinet/glue-include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-07-26 18:44:39 +0000
committerMark Kettenis <kettenis@gnu.org>2000-07-26 18:44:39 +0000
commit94add81eb81b91d38bc1e72456697922b540edd9 (patch)
treeb173419ee080c8ed42f8427c49f3cc372e53a974 /pfinet/glue-include
parentc402dc0d3e123f784d01888d89f20e57da8bc53d (diff)
* glue-include/linux/poll.h (POLLERR): Define as SELECT_READ |
SELECT_WRITE. (POLLHUP): Define as SELECT_READ.
Diffstat (limited to 'pfinet/glue-include')
-rw-r--r--pfinet/glue-include/linux/poll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pfinet/glue-include/linux/poll.h b/pfinet/glue-include/linux/poll.h
index d608abf2..b21c3c71 100644
--- a/pfinet/glue-include/linux/poll.h
+++ b/pfinet/glue-include/linux/poll.h
@@ -9,8 +9,8 @@
#define POLLWRNORM SELECT_WRITE
#define POLLWRBAND SELECT_WRITE
#define POLLPRI SELECT_URG
-#define POLLERR 0
-#define POLLHUP 0
+#define POLLERR SELECT_READ | SELECT_WRITE
+#define POLLHUP SELECT_READ
typedef struct poll_table_struct { } poll_table;