From 50157ee96f6189fb54d4dac07bdd205daa2d436b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 9 Aug 2023 11:49:54 -0700 Subject: [PATCH] Define `SO_DOMAIN` and `SO_PROTOTYPE` on solarish platforms. --- src/unix/solarish/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index 400de8a26471c..a3fa56a65a67e 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -1825,6 +1825,8 @@ pub const SO_SNDTIMEO: ::c_int = 0x1005; pub const SO_RCVTIMEO: ::c_int = 0x1006; pub const SO_ERROR: ::c_int = 0x1007; pub const SO_TYPE: ::c_int = 0x1008; +pub const SO_PROTOTYPE: ::c_int = 0x1009; +pub const SO_DOMAIN: ::c_int = 0x100c; pub const SO_TIMESTAMP: ::c_int = 0x1013; pub const SCM_RIGHTS: ::c_int = 0x1010;