File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ use crate::backend::conv::ret_pid_t;
2222use crate :: backend:: conv:: ret_u32;
2323#[ cfg( all( feature = "alloc" , not( target_os = "wasi" ) ) ) ]
2424use crate :: backend:: conv:: ret_usize;
25- #[ cfg( not( target_os = "fucshia" ) ) ]
2625use crate :: backend:: conv:: { ret, ret_c_int} ;
2726#[ cfg( not( any( target_os = "wasi" , target_os = "fuchsia" ) ) ) ]
2827use crate :: fd:: BorrowedFd ;
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ impl AddressFamily {
455455 #[ cfg( any( bsd, solarish, target_os = "aix" , target_os = "nto" ) ) ]
456456 pub const IMPLINK : Self = Self ( c:: AF_IMPLINK as _ ) ;
457457 /// `AF_IEEE80211`
458- #[ cfg( any( apple, freebsdlike, linuxlike , target_os = "netbsd" ) ) ]
458+ #[ cfg( any( apple, freebsdlike, target_os = "netbsd" ) ) ]
459459 pub const IEEE80211 : Self = Self ( c:: AF_IEEE80211 as _ ) ;
460460 /// `AF_INET6_SDP`
461461 #[ cfg( target_os = "freebsd" ) ]
@@ -542,7 +542,7 @@ impl AddressFamily {
542542 #[ cfg( target_os = "freebsd" ) ]
543543 pub const SCLUSTER : Self = Self ( c:: AF_SCLUSTER as _ ) ;
544544 /// `AF_SIP`
545- #[ cfg( any( apple, target_os = "freebsd" , target_os = "opensbd " ) ) ]
545+ #[ cfg( any( apple, target_os = "freebsd" , target_os = "openbsd " ) ) ]
546546 pub const SIP : Self = Self ( c:: AF_SIP as _ ) ;
547547 /// `AF_SLOW`
548548 #[ cfg( target_os = "freebsd" ) ]
You can’t perform that action at this time.
0 commit comments