From 43cab1f7f846a591f55819635ebf8123f939ed06 Mon Sep 17 00:00:00 2001 From: godmial Date: Wed, 25 Dec 2024 10:14:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86gd32470z-lckfb=20lib?= =?UTF-8?q?c=5Fdirent=E7=BB=93=E6=9E=84=E4=BD=93=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/common/include/dirent.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/libc/compilers/common/include/dirent.h b/components/libc/compilers/common/include/dirent.h index b650028e11e..6020e95c35c 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;