From 7104046e291b27724a82f68825c8ca2a8db41501 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 69d582e348..73d32bf2b2 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;