From 4b8ec1241d7e7650807daa632c448999a53f31eb Mon Sep 17 00:00:00 2001 From: klzgrad Date: Fri, 24 Sep 2021 23:46:21 +0800 Subject: [PATCH] base: Do not forward declare stat64 for Musl --- src/base/files/file.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/files/file.h b/src/base/files/file.h index c252375ecd..3531f16ea7 100644 --- a/src/base/files/file.h +++ b/src/base/files/file.h @@ -19,7 +19,8 @@ #include "build/build_config.h" #if BUILDFLAG(IS_BSD) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_NACL) || \ - BUILDFLAG(IS_FUCHSIA) || (BUILDFLAG(IS_ANDROID) && __ANDROID_API__ < 21) + BUILDFLAG(IS_FUCHSIA) || \ + (BUILDFLAG(IS_ANDROID) && __ANDROID_API__ < 21) || defined(__MUSL__) struct stat; namespace base { typedef struct stat stat_wrapper_t;