file: Fix cross-compilation on Darwin/macOS
Darwin/macOS does not have pipe2(2). Apply a similar guard as in f3d7ace4 after 43a5ec4e. Pull Request: https://github.com/freebsd/freebsd-src/pull/574 (cherry picked from commit f5ccb3a3)
Please register or sign in to comment