Skip to content

Commit 8a5a762

Browse files
bors[bot]kpcyrd
andcommitted
Merge #893
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]>
2 parents 15168e5 + c838e64 commit 8a5a762

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4747
([#833](https://github.com/nix-rust/nix/pull/833))
4848
- Enabled more `ptrace::Request` definitions for uncommon Linux platforms
4949
([#892](https://github.com/nix-rust/nix/pull/892))
50+
- Remove `IFF_NOTRAILERS` on OpenBSD, as it has been removed in OpenBSD 6.3
51+
([#893](https://github.com/nix-rust/nix/pull/893))
5052

5153
### Fixed
5254
- Fixed possible panics when using `SigAction::flags` on Linux

src/net/if_.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ libc_bitflags!(
4444
target_os = "linux",
4545
target_os = "macos",
4646
target_os = "netbsd",
47-
target_os = "openbsd",
4847
target_os = "solaris"))]
4948
IFF_NOTRAILERS;
5049
/// Interface manages own routes.

0 commit comments

Comments
 (0)