fix: OpenBSD does not support TCPKeepalive intervals (#1382)

Signed-off-by: houseme <housemecn@gmail.com>
Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jan S
2026-01-05 17:41:39 +01:00
committed by GitHub
parent 40ad2a6ea9
commit 5f19eef945
2 changed files with 19 additions and 5 deletions
+1
View File
@@ -15,6 +15,7 @@
use rustfs_config::VERSION;
use std::env;
use std::fmt;
#[cfg(not(any(target_os = "openbsd", target_os = "freebsd")))]
use sysinfo::System;
/// Business Type Enumeration