summaryrefslogtreecommitdiff
path: root/src/unix/solarish/illumos.rs
diff options
context:
space:
mode:
authorSteven Engler <opara@cs.georgetown.edu>2023-04-25 15:32:32 -0400
committerSteven Engler <opara@cs.georgetown.edu>2023-04-25 15:32:32 -0400
commit3be2573919f7898dfacbc17ede2e23743c804bc8 (patch)
treef0acfc5dab45fd8d28b870e383e1a283498749d5 /src/unix/solarish/illumos.rs
parent5744793b48ddd451ed0690e486845f60280150a3 (diff)
downloadrust-libc-3be2573919f7898dfacbc17ede2e23743c804bc8.tar.gz
Added `MSG_WAITFORONE` to freebsd, openbsd, and illumos
Diffstat (limited to 'src/unix/solarish/illumos.rs')
-rw-r--r--src/unix/solarish/illumos.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/solarish/illumos.rs b/src/unix/solarish/illumos.rs
index 404f013da2..81a0ad6353 100644
--- a/src/unix/solarish/illumos.rs
+++ b/src/unix/solarish/illumos.rs
@@ -33,6 +33,8 @@ pub const TCP_KEEPCNT: ::c_int = 35;
pub const TCP_KEEPINTVL: ::c_int = 36;
pub const TCP_CONGESTION: ::c_int = 37;
+pub const MSG_WAITFORONE: ::c_int = 0x80000;
+
// These constants are correct for 64-bit programs or 32-bit programs that are
// not using large-file mode. If Rust ever supports anything other than 64-bit
// compilation on illumos, this may require adjustment: