Index: third_party/zlib/BUILD.gn --- third_party/zlib/BUILD.gn.orig +++ third_party/zlib/BUILD.gn @@ -408,7 +408,7 @@ static_library("minizip") { ] } - if (is_apple || is_android || is_nacl) { + if (is_apple || is_android || is_nacl || is_bsd) { # Mac, Android and the BSDs don't have fopen64, ftello64, or fseeko64. We # use fopen, ftell, and fseek instead on these systems. defines = [ "USE_FILE32API" ]