base: Do not forward declare stat64 for Musl

This commit is contained in:
klzgrad 2021-09-24 23:46:21 +08:00
parent 7105b1eb13
commit 7104046e29

View File

@ -19,7 +19,8 @@
#include "build/build_config.h" #include "build/build_config.h"
#if BUILDFLAG(IS_BSD) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_NACL) || \ #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; struct stat;
namespace base { namespace base {
typedef struct stat stat_wrapper_t; typedef struct stat stat_wrapper_t;