From 58c772bd51b381b7a75e32bb32cca65c350e00fa Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Thu, 3 Aug 2017 18:10:21 +1000 Subject: [PATCH] Add KERN_ARND and KERN_USERMOUNT to don't check list on OpenBSD --- libc-test/build.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libc-test/build.rs b/libc-test/build.rs index 29c8ceee..a9f61e62 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -431,6 +431,11 @@ fn main() { "KERN_KDENABLE_BG_TRACE" if apple => true, "KERN_KDDISABLE_BG_TRACE" if apple => true, + // These constants were removed in OpenBSD 6 (https://git.io/v7gBO + // https://git.io/v7gBq) + "KERN_USERMOUNT" | + "KERN_ARND" if openbsd => true, + // These are either unimplemented or optionally built into uClibc "LC_CTYPE_MASK" | "LC_NUMERIC_MASK" | "LC_TIME_MASK" | "LC_COLLATE_MASK" | "LC_MONETARY_MASK" | "LC_MESSAGES_MASK" | "MADV_MERGEABLE" | "MADV_UNMERGEABLE" | "MADV_HWPOISON" | "IPV6_ADD_MEMBERSHIP" | "IPV6_DROP_MEMBERSHIP" | "IPV6_MULTICAST_LOOP" | "IPV6_V6ONLY" |