Skip to content

Commit

Permalink
Fix build error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored and Detegr committed Mar 10, 2024
1 parent ceef26a commit 7167872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fn pipe2(flags: nix::fcntl::OFlag) -> nix::Result<(RawFd, RawFd)> {
use nix::fcntl::{fcntl, FcntlArg, FdFlag, OFlag};

let pipe = unistd::pipe()?;
let pipe = (pipe.0.into_raw_fd(), pipe.1.into_raw_fd());

let mut res = Ok(0);

Expand Down

0 comments on commit 7167872

Please sign in to comment.