diff --git a/select/select.py b/select/select.py index e7de109d..9542f5d2 100644 --- a/select/select.py +++ b/select/select.py @@ -27,6 +27,9 @@ EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2 EPOLL_CTL_MOD = 3 +# Not included in uselect. +POLLPRI = 0x002 + # TODO: struct epoll_event's 2nd member is union of uint64_t, etc. # On x86, uint64_t is 4-byte aligned, on many other platforms - 8-byte. # Until uctypes module can assign native struct offset, use dirty hack