summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-05 04:00:03 +0000
committerbors <bors@rust-lang.org>2021-01-05 04:00:03 +0000
commita98a649bc3d6c4c8870323ded76d143f33ddda22 (patch)
tree39d41dd9683109ecd164f372d11ef9a76989b7f1 /src
parent9d6d0186e92304e57aafa5e5724ce37c269cee36 (diff)
parent46af3376bde0b247e7f827642e53dbae7c21be3d (diff)
downloadrust-libc-a98a649bc3d6c4c8870323ded76d143f33ddda22.tar.gz
Auto merge of #2019 - kolapapa:mipsel-uclibc, r=JohnTitor
Add EPOLLEXCLUSIVE && EPOLLWAKEUP
Diffstat (limited to 'src')
-rw-r--r--src/unix/uclibc/mips/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/uclibc/mips/mod.rs b/src/unix/uclibc/mips/mod.rs
index 6a9b41c9f0..de76971ae3 100644
--- a/src/unix/uclibc/mips/mod.rs
+++ b/src/unix/uclibc/mips/mod.rs
@@ -28,6 +28,8 @@ pub const SA_RESETHAND: ::c_int = 0x80000000;
pub const SA_RESTART: ::c_int = 0x10000000;
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
+pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000; // from linux/mod.rs
+pub const EPOLLWAKEUP: ::c_int = 0x20000000; // from linux/other/mod.rs
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
pub const EFD_CLOEXEC: ::c_int = 0x80000;