diff options
| author | godmial <[email protected]> | 2024-12-27 15:22:08 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-27 15:22:08 +0800 |
| commit | 24cf724899b6f84c872060a3fcd934ab7127008a (patch) | |
| tree | 50533a8e5fe3296e67bedaef1e5dc2967a902fb5 /components | |
| parent | 825e87d2cf940a516934d03b254684c9a4942602 (diff) | |
[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)
解决了gd32470z-lckfb libc_dirent结构体报错的bug
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/common/include/dirent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/compilers/common/include/dirent.h b/components/libc/compilers/common/include/dirent.h index b650028e11..6020e95c35 100644 --- a/components/libc/compilers/common/include/dirent.h +++ b/components/libc/compilers/common/include/dirent.h @@ -69,7 +69,9 @@ struct dirent typedef uint64_t ino_t; #endif struct libc_dirent { +#ifdef RT_USING_MUSLLIBC ino_t d_ino; +#endif off_t d_off; unsigned short d_reclen; unsigned char d_type; |
