From 519c5ea963f858180bc3ee00f36a5e45e34aa436 Mon Sep 17 00:00:00 2001 From: Uwe Strempel Date: Thu, 15 Jun 2017 10:33:45 +0200 Subject: [PATCH] Fixed missing epoll one shot --- src/unix/notbsd/android/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs index 547d8327dbb90..2a7d572dc5cc5 100644 --- a/src/unix/notbsd/android/mod.rs +++ b/src/unix/notbsd/android/mod.rs @@ -172,6 +172,7 @@ pub const SA_RESTART: ::c_int = 0x10000000; pub const SA_NOCLDSTOP: ::c_int = 0x00000001; pub const EPOLL_CLOEXEC: ::c_int = 0x80000; +pub const EPOLLONESHOT: ::c_int = 0x40000000; pub const EFD_CLOEXEC: ::c_int = 0x80000;