We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddbc617 commit ec07815Copy full SHA for ec07815
library/std/src/sys/unix/ext/net/ancillary.rs
@@ -360,7 +360,11 @@ impl<'a> AncillaryData<'a> {
360
fn try_from_cmsghdr(cmsg: &'a libc::cmsghdr) -> Result<Self, AncillaryError> {
361
unsafe {
362
cfg_if::cfg_if! {
363
- if #[cfg(any(target_os = "android", all(target_os = "linux", target_env = "gnu")))] {
+ if #[cfg(any(
364
+ target_os = "android",
365
+ all(target_os = "linux", target_env = "gnu"),
366
+ all(target_os = "linux", target_env = "uclibc"),
367
+ ))] {
368
let cmsg_len_zero = libc::CMSG_LEN(0) as libc::size_t;
369
} else if #[cfg(any(
370
target_os = "dragonfly",
0 commit comments