1 diff --git a/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h b/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h
2 index f8be372..5ab6e5b 100644
3 --- a/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h
4 +++ b/third_party/crashpad/crashpad/compat/linux/sys/ptrace.h
7 #include_next <sys/ptrace.h>
9 +#if defined(__GLIBC__)
10 #include <sys/cdefs.h>
13 // https://sourceware.org/bugzilla/show_bug.cgi?id=22433
14 #if !defined(PTRACE_GET_THREAD_AREA) && !defined(PT_GET_THREAD_AREA) && \
15 diff --git a/third_party/crashpad/crashpad/util/linux/ptracer.cc b/third_party/crashpad/crashpad/util/linux/ptracer.cc
16 index 557e0d3..f41dc80 100644
17 --- a/third_party/crashpad/crashpad/util/linux/ptracer.cc
18 +++ b/third_party/crashpad/crashpad/util/linux/ptracer.cc
21 #if defined(ARCH_CPU_X86_FAMILY)
23 +#include <asm/ptrace-abi.h>