From 222027991f65c6520b747b4d3f3be6dec14083ff Mon Sep 17 00:00:00 2001 From: Jarred SUmner Date: Fri, 1 Oct 2021 15:05:34 -0700 Subject: Build stuff --- src/options.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/options.zig') diff --git a/src/options.zig b/src/options.zig index af574ca1d..d6c96034c 100644 --- a/src/options.zig +++ b/src/options.zig @@ -1535,6 +1535,7 @@ pub const OutputFile = struct { // most efficient method (if available). var offset: u64 = 0; cfr_loop: while (true) { + const math = std.math; // The kernel checks the u64 value `offset+count` for overflow, use // a 32 bit value so that the syscall won't return EINVAL except for // impossibly large files (> 2^64-1 - 2^32-1). -- cgit v1.2.3