From ef9461088b8d7b6b445fa302c3370d6a8823b9ab Mon Sep 17 00:00:00 2001 From: Aphek Date: Fri, 12 Jan 2024 12:17:34 -0300 Subject: [PATCH] Add SOMAXCONN constant to vita --- src/unix/newlib/vita/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/newlib/vita/mod.rs b/src/unix/newlib/vita/mod.rs index e80f061ea0ce5..d4c6955f36153 100644 --- a/src/unix/newlib/vita/mod.rs +++ b/src/unix/newlib/vita/mod.rs @@ -94,6 +94,8 @@ pub const SOCK_RAW: ::c_int = 3; pub const SOCK_RDM: ::c_int = 4; pub const SOCK_SEQPACKET: ::c_int = 5; +pub const SOMAXCONN: ::c_int = 128; + pub const FIONBIO: ::c_ulong = 1; pub const POLLIN: ::c_short = 0x0001;