Skip to content

Commit

Permalink
Small fix for ESP-IDF platform support
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jasta authored and Thomasdezeeuw committed Jul 31, 2023
1 parent baa8f2b commit 77e3bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 77e3bb9

Please sign in to comment.