HomeFreeBSD

file: Fix cross-compilation on Darwin/macOS

Description

file: Fix cross-compilation on Darwin/macOS

Darwin/macOS does not have pipe2(2).

Apply a similar guard as in f3d7ace4b235422e5ccff0315f2965ac935241d8
after 43a5ec4eb41567cc92586503212743d89686d78f.

Pull Request: https://github.com/freebsd/freebsd-src/pull/574

(cherry picked from commit f5ccb3a33e23797b98860cea497d989a338af446)

Details

Provenance
jlduran_gmail.comAuthored on Jan 5 2022, 12:13 PM
jrtc27Committed on Jan 25 2022, 12:05 AM
Parents
rG8599e69d5697: etdump: Fix the file name included in the could not open error message
Branches
Unknown
Tags
Unknown