diff --git a/compat/linux/sys/user.h b/compat/linux/sys/user.h index 197c1dd1..0ce5338b 100644 --- a/compat/linux/sys/user.h +++ b/compat/linux/sys/user.h @@ -20,9 +20,11 @@ #include // glibc for 64-bit ARM uses different names for these structs prior to 2.20. -#if defined(__arm64__) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 20) +#if defined(__arm64__) && defined(__GLIBC__) +#if !__GLIBC_PREREQ(2, 20) using user_regs_struct = user_pt_regs; using user_fpsimd_struct = user_fpsimd_state; #endif +#endif #endif // CRASHPAD_COMPAT_LINUX_SYS_USER_H_