Index: lib/sanitizer_common/sanitizer_platform_limits_posix.cc =================================================================== --- lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -51,7 +51,7 @@ #include #include #include -#if !SANITIZER_MAC +#if !SANITIZER_MAC && !SANITIZER_FREEBSD #include #endif @@ -288,7 +288,7 @@ int shmctl_shm_stat = (int)SHM_STAT; #endif -#if !SANITIZER_MAC +#if !SANITIZER_MAC && !SANITIZER_FREEBSD unsigned struct_utmp_sz = sizeof(struct utmp); #endif #if !SANITIZER_ANDROID