Skip to content

Commit 77e3bb9

Browse files
jastaThomasdezeeuw
authored andcommitted
Small fix for ESP-IDF platform support
This was missed in #452 because I wasn't testing with feature="all" enabled for my small socket2 test. For the full tokio integration I was using v0.4.x which didn't need this fix. Properly closes #379.
1 parent baa8f2b commit 77e3bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/unix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub(crate) use libc::ipv6_mreq as Ipv6Mreq;
130130
target_os = "espidf",
131131
)))]
132132
pub(crate) use libc::IPV6_RECVTCLASS;
133-
#[cfg(all(feature = "all", not(target_os = "redox")))]
133+
#[cfg(all(feature = "all", not(any(target_os = "redox", target_os = "espidf"))))]
134134
pub(crate) use libc::IP_HDRINCL;
135135
#[cfg(not(any(
136136
target_os = "aix",

0 commit comments

Comments
 (0)