mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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)
This commit is contained in:
parent
1d9d444c07
commit
5490c0a243
@ -29,7 +29,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/termios.h>
|
||||
#include <sys/poll.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/dirent.h>
|
||||
#include <string.h>
|
||||
#include "sdkconfig.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user