From 4cbb002fce4006c7807a402d46a628a9db12aaaa Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Sat, 25 May 2024 12:02:51 +0800 Subject: [PATCH] try harder --- src/sys/socket/sockopt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sys/socket/sockopt.rs b/src/sys/socket/sockopt.rs index 786cfa497f..079258b889 100644 --- a/src/sys/socket/sockopt.rs +++ b/src/sys/socket/sockopt.rs @@ -10,6 +10,7 @@ use std::ffi::{CStr, CString}; #[cfg(any(target_os = "freebsd", linux_android))] use std::ffi::{OsStr, OsString}; use std::mem::{self, MaybeUninit}; +#[cfg(any(target_os = "freebsd", linux_android))] use std::os::unix::ffi::OsStrExt; use std::os::unix::io::{AsFd, AsRawFd};