From 61698866f8afcbb654c67a3ebeec63e8c002e720 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/base/files/file.h b/src/base/files/file.h index a264d930de..36665acc5f 100644 --- a/src/base/files/file.h +++ b/src/base/files/file.h @@ -18,8 +18,9 @@ #include "base/trace_event/base_tracing_forward.h" #include "build/build_config.h" -#if defined(OS_BSD) || defined(OS_APPLE) || defined(OS_NACL) || \ - defined(OS_FUCHSIA) || (defined(OS_ANDROID) && __ANDROID_API__ < 21) +#if defined(OS_BSD) || defined(OS_APPLE) || defined(OS_NACL) || \ + defined(OS_FUCHSIA) || (defined(OS_ANDROID) && __ANDROID_API__ < 21) || \ + defined(__UCLIBC__) struct stat; namespace base { typedef struct stat stat_wrapper_t;