Jiacheng Guo 5490c0a243 vfs: use sys/dirent.h from newlib
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 b14830c5c044561b49fd6da12624701362e85f7c)
2021-03-16 10:33:31 +08:00
..
2021-03-16 10:33:31 +08:00