Index: lib/sanitizer_common/sanitizer_internal_defs.h =================================================================== --- lib/sanitizer_common/sanitizer_internal_defs.h +++ lib/sanitizer_common/sanitizer_internal_defs.h @@ -129,11 +129,8 @@ #endif typedef int pid_t; -// WARNING: OFF_T may be different from OS type off_t, depending on the value of -// _FILE_OFFSET_BITS. This definition of OFF_T matches the ABI of system calls -// like pread and mmap, as opposed to pread64 and mmap64. -// FreeBSD, Mac and Linux/x86-64 are special. -#if SANITIZER_FREEBSD || SANITIZER_MAC || \ +// WARNING: OFF_T may be different from OS type off_t +#if SANITIZER_FREEBSD || SANITIZER_MAC || SANITIZER_NETBSD || \ (SANITIZER_LINUX && defined(__x86_64__)) typedef u64 OFF_T; #else