Fix ESP IDF build broken by #124210

This commit is contained in:
ivmarkov 2024-04-29 06:17:02 +00:00
parent 5b1d58c9e2
commit fa6db4c428

View File

@ -893,6 +893,7 @@ impl Drop for Dir {
target_os = "nto",
target_os = "vita",
target_os = "hurd",
target_os = "espidf",
)))]
{
let fd = unsafe { libc::dirfd(self.0) };