summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Strempel <u.strempel@googlemail.com>2017-06-15 10:33:45 +0200
committerGitHub <noreply@github.com>2017-06-15 10:33:45 +0200
commit519c5ea963f858180bc3ee00f36a5e45e34aa436 (patch)
tree4b4374bd1f22cb1fc5ed848bf5fb847f4e7fc38b
parent0bfcd7a1b84fef84028204c3c0d70506723056ae (diff)
downloadrust-libc-519c5ea963f858180bc3ee00f36a5e45e34aa436.tar.gz
Fixed missing epoll one shot
-rw-r--r--src/unix/notbsd/android/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/notbsd/android/mod.rs b/src/unix/notbsd/android/mod.rs
index 547d8327db..2a7d572dc5 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;