summaryrefslogtreecommitdiff
path: root/pfinet/glue-include
diff options
context:
space:
mode:
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;