Skip to content

Commit

Permalink
fix(shadowsocks): unbreak OpenBSD build
Browse files Browse the repository at this point in the history
Add missing types.
  • Loading branch information
heroin-moose authored and zonyitoo committed Apr 8, 2024
1 parent 9b3d883 commit 44e8f71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/shadowsocks/src/net/sys/unix/others.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use std::{
io,
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
ops::{Deref, DerefMut},
os::fd::AsRawFd,
pin::Pin,
task::{self, Poll},
};
Expand All @@ -13,7 +14,7 @@ use tokio::{
};

use crate::net::{
sys::{set_common_sockopt_after_connect, set_common_sockopt_for_connect},
sys::{ErrorKind, set_common_sockopt_after_connect, set_common_sockopt_for_connect},
AcceptOpts,
AddrFamily,
ConnectOpts,
Expand Down

0 comments on commit 44e8f71

Please sign in to comment.