--- crypto/nss_util.cc.orig 2016-10-06 04:02:19.000000000 +0300 +++ crypto/nss_util.cc 2016-10-13 07:19:30.151634000 +0300 @@ -20,7 +20,7 @@ #include "base/threading/thread_task_runner_handle.h" #include "crypto/nss_util_internal.h" -#if defined(OS_OPENBSD) +#if defined(OS_BSD) #include #include #endif @@ -150,10 +150,10 @@ base::FileSystemType fs_type = base::FILE_SYSTEM_UNKNOWN; if (base::GetFileSystemType(database_dir, &fs_type)) db_on_nfs = (fs_type == base::FILE_SYSTEM_NFS); -#elif defined(OS_OPENBSD) +#elif defined(OS_BSD) struct statfs buf; if (statfs(database_dir.value().c_str(), &buf) == 0) - db_on_nfs = (strcmp(buf.f_fstypename, MOUNT_NFS) == 0); + db_on_nfs = (strcmp(buf.f_fstypename, "nfs") == 0); #else NOTIMPLEMENTED(); #endif