summaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-seccomp-bpf.patch
blob: 47cde56c7446b2cbf64b9091bbe473a96bfcd832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc.orig	2015-09-23 09:10:08.812740571 +0200
+++ b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc	2015-09-23 09:11:38.404746155 +0200
@@ -23,6 +23,11 @@
 #include "sandbox/linux/services/android_ucontext.h"
 #endif
 
+// musl libc defines siginfo_t __si_fields instead of _sifields
+#if defined(OS_LINUX) && !defined(__GLIBC__)
+#define _sifields __si_fields
+#endif
+
 namespace {
 
 struct arch_sigsys {