--- lib/esan/esan_linux.cpp.orig 2016-10-06 20:58:11.000000000 +1100 +++ lib/esan/esan_linux.cpp 2020-05-26 10:29:45.743838000 +1000 @@ -13,7 +13,7 @@ //===----------------------------------------------------------------------===// #include "sanitizer_common/sanitizer_platform.h" -#if SANITIZER_FREEBSD || SANITIZER_LINUX +#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_BSDSUNIX #include "esan.h" #include "esan_shadow.h" @@ -80,4 +80,4 @@ } // namespace __esan -#endif // SANITIZER_FREEBSD || SANITIZER_LINUX +#endif // SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_BSDSUNIX