]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DSKQXS.pm
dskqxs: fix missing EV_DISPATCH define
[public-inbox.git] / lib / PublicInbox / DSKQXS.pm
index 1c3b970b7a332d3fd681fd885157005c70fea504..84e146f8ed67bd5f4e62dc88e395dac1329d6afd 100644 (file)
@@ -21,6 +21,8 @@ use PublicInbox::Syscall qw(EPOLLONESHOT EPOLLIN EPOLLOUT EPOLLET
 our @EXPORT_OK = qw(epoll_ctl epoll_wait);
 my $owner_pid = -1; # kqueue is close-on-fork (yes, fork, not exec)
 
+sub EV_DISPATCH () { 0x0080 }
+
 # map EPOLL* bits to kqueue EV_* flags for EV_SET
 sub kq_flag ($$) {
        my ($bit, $ev) = @_;