mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-20 01:50:40 +00:00

The dirent.h shipped with the risc-v compiler lacks `extern "C"`
declartion and causes linkage declartion conflict when included in C++
files. Use the dirent.h from newlib only to avoid this issue.
(cherry picked from commit b14830c5c0
)