Auto merge of #619 - gdf8gdn8:fixed-missing-epolloneshot-android, r=alexcrichton

Fixed missing EPOLLONESHOT for android

resolve #548
This commit is contained in:
bors 2017-06-15 14:29:34 +00:00
commit edbc1f14e7

View File

@ -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;