Index: lib/sanitizer_common/sanitizer_platform_limits_openbsd.h =================================================================== --- lib/sanitizer_common/sanitizer_platform_limits_openbsd.h +++ lib/sanitizer_common/sanitizer_platform_limits_openbsd.h @@ -31,6 +31,10 @@ _GET_LINK_MAP_BY_DLOPEN_HANDLE(handle, 164) #endif +#if !defined(RLIMIT_AS) +#define RLIMIT_AS RLIMIT_DATA +#endif + namespace __sanitizer { extern unsigned struct_utsname_sz; extern unsigned struct_stat_sz;