From c838e64517ddfcaf7a45622c92af3a4a46d46fdd Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Sat, 28 Apr 2018 03:17:45 +0200 Subject: [PATCH] OpenBSD: remove IFF_NOTRAILERS IFF_NOTRAILERS has been removed in OpenBSD 6.3 https://github.com/openbsd/src/commit/beb8b0dd5985e55a615b52e593da6e75bab33f3f --- CHANGELOG.md | 2 ++ src/net/if_.rs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b78c59f8b..bc053fd8ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 - Properly exposed 460800 and 921600 baud rates on NetBSD diff --git a/src/net/if_.rs b/src/net/if_.rs index 0da9016aff..714eac7750 100644 --- a/src/net/if_.rs +++ b/src/net/if_.rs @@ -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.