Skip to content

Commit

Permalink
Merge #893
Browse files Browse the repository at this point in the history
893: Remove IFF_NOTRAILERS for openbsd r=asomers a=kpcyrd

nix currently doesn't compile on openbsd because `IFF_NOTRAILERS` isn't found. This PR fixes the openbsd build again (tested on 6.3). It seems it was changed in this commit:

openbsd/src@beb8b0d

Co-authored-by: kpcyrd <[email protected]>
  • Loading branch information
bors[bot] and kpcyrd committed May 6, 2018
2 parents 15168e5 + c838e64 commit 2741ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#833](https://github.com/nix-rust/nix/pull/833))
- Enabled more `ptrace::Request` definitions for uncommon Linux platforms
([#892](https://github.com/nix-rust/nix/pull/892))
- Remove `IFF_NOTRAILERS` on OpenBSD, as it has been removed in OpenBSD 6.3
([#893](https://github.com/nix-rust/nix/pull/893))

### Fixed
- Fixed possible panics when using `SigAction::flags` on Linux
Expand Down
1 change: 0 additions & 1 deletion src/net/if_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ libc_bitflags!(
target_os = "linux",
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
target_os = "solaris"))]
IFF_NOTRAILERS;
/// Interface manages own routes.
Expand Down

0 comments on commit 2741ecb

Please sign in to comment.