Skip to content

Commit

Permalink
Use libc for FFI functions and constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Susurrus committed Aug 11, 2017
1 parent 087aece commit 326da17
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 178 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#647](https://github.com/nix-rust/nix/pull/647))
- Exposed `unistd::setresuid` and `unistd::setresgid` on FreeBSD and OpenBSD
([#721](https://github.com/nix-rust/nix/pull/721))
- The `addr` argument to `madvise` is now `*mut` to better match the
libc API.

# Fixed
- Fix compilation and tests for OpenBSD targets
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude = [
]

[dependencies]
libc = { git = "https://github.com/rust-lang/libc" }
libc = { git = "https://github.com/susurrus/libc", branch = "mman_constants" }
bitflags = "0.9"
cfg-if = "0.1.0"
void = "1.0.2"
Expand Down
Loading

0 comments on commit 326da17

Please sign in to comment.