From 37f87eb218d25c6bbc5d7bf752ce3c1a41969c9b 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 6272fccca2..4b012114a7 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;