diff --git a/util/linux/thread_info.h b/util/linux/thread_info.h index 8b94effe..9f60bd3e 100644 --- a/util/linux/thread_info.h +++ b/util/linux/thread_info.h @@ -15,6 +15,7 @@ #ifndef CRASHPAD_UTIL_LINUX_THREAD_INFO_H_ #define CRASHPAD_UTIL_LINUX_THREAD_INFO_H_ +#include #include #include @@ -274,7 +275,7 @@ union FloatContext { "Size mismatch"); #elif defined(ARCH_CPU_ARMEL) static_assert(sizeof(f32_t::fpregs) == sizeof(user_fpregs), "Size mismatch"); -#if !defined(__GLIBC__) +#if defined(__BIONIC__) static_assert(sizeof(f32_t::vfp) == sizeof(user_vfp), "Size mismatch"); #endif #elif defined(ARCH_CPU_ARM64)