diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 788d9fdb..639d26e7 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -130,7 +130,7 @@ pub(crate) use libc::ipv6_mreq as Ipv6Mreq; target_os = "espidf", )))] pub(crate) use libc::IPV6_RECVTCLASS; -#[cfg(all(feature = "all", not(target_os = "redox")))] +#[cfg(all(feature = "all", not(any(target_os = "redox", target_os = "espidf"))))] pub(crate) use libc::IP_HDRINCL; #[cfg(not(any( target_os = "aix",