Skip to content

Commit

Permalink
[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)
Browse files Browse the repository at this point in the history
解决了gd32470z-lckfb libc_dirent结构体报错的bug
  • Loading branch information
godmial authored Dec 27, 2024
1 parent 825e87d commit 24cf724
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/libc/compilers/common/include/dirent.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 24cf724

Please sign in to comment.