aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/musl-stat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/musl-stat.patch')
-rw-r--r--community/chromium/musl-stat.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/chromium/musl-stat.patch b/community/chromium/musl-stat.patch
new file mode 100644
index 00000000000..427be1a3f4c
--- /dev/null
+++ b/community/chromium/musl-stat.patch
@@ -0,0 +1,12 @@
+--- a/base/files/file.h.orig
++++ b/base/files/file.h
+@@ -19,7 +19,8 @@
+ #include "build/build_config.h"
+
+ #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(OS_LINUX) && !defined(__GLIBC__))
+ struct stat;
+ namespace base {
+ typedef struct stat stat_wrapper_t;