Skip to content

Commit 37da201

Browse files
committed
Auto merge of #2810 - devnexen:haiku_somaxconn, r=JohnTitor
haiku SOMAXCONN constant
2 parents 7ecea9a + 87835a9 commit 37da201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,8 @@ pub const SO_PEERCRED: ::c_int = 0x4000000b;
12251225

12261226
pub const SCM_RIGHTS: ::c_int = 0x01;
12271227

1228+
pub const SOMAXCONN: ::c_int = 32;
1229+
12281230
pub const NI_MAXHOST: ::size_t = 1025;
12291231

12301232
pub const WNOHANG: ::c_int = 0x01;

0 commit comments

Comments
 (0)