base: Do not forward declare stat64 for Musl

This commit is contained in:
klzgrad 2021-09-24 23:46:21 +08:00
parent 15c431ff5e
commit 773db2b6e3

View File

@ -19,7 +19,8 @@
#include "build/build_config.h" #include "build/build_config.h"
#if defined(OS_BSD) || defined(OS_APPLE) || defined(OS_NACL) || \ #if defined(OS_BSD) || defined(OS_APPLE) || defined(OS_NACL) || \
defined(OS_FUCHSIA) || (defined(OS_ANDROID) && __ANDROID_API__ < 21) defined(OS_FUCHSIA) || (defined(OS_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;