aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/fix-seccomp-bpf.patch
blob: de7bd175eeca4e044676906c753e98df5cdd11ed (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    2018-12-14 08:53:46.083976137 +0000
+++ b/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc    2018-12-14 08:51:22.084596411 +0000
@@ -25,6 +25,11 @@
 #include "sandbox/linux/system_headers/linux_seccomp.h"
 #include "sandbox/linux/system_headers/linux_signal.h"
 
+// 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 {