From 842ff2f5b451de659ef7ee8eba2b9e22994f174e Mon Sep 17 00:00:00 2001 From: James Perry Date: Sat, 23 Jan 2016 21:42:54 +0000 Subject: adding SOCK_NONBLOCK & SOCK_CLOEXEC for linux MIPS --- src/unix/notbsd/linux/mips.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/notbsd/linux/mips.rs b/src/unix/notbsd/linux/mips.rs index ebf2d230f7..00a2235b93 100644 --- a/src/unix/notbsd/linux/mips.rs +++ b/src/unix/notbsd/linux/mips.rs @@ -205,6 +205,8 @@ pub const O_FSYNC: ::c_int = 0x4010; pub const O_ASYNC: ::c_int = 0x1000; pub const O_NDELAY: ::c_int = 0x80; +pub const SOCK_NONBLOCK: ::c_int = 128; + pub const EDEADLK: ::c_int = 45; pub const ENAMETOOLONG: ::c_int = 78; pub const ENOLCK: ::c_int = 46; -- cgit v1.2.1