diff --git a/libc-test/build.rs b/libc-test/build.rs index a31d6ba4878ba..7d7062cb9b97b 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -590,9 +590,12 @@ fn test_openbsd(target: &str) { cfg.skip_const(move |name| { match name { - // Removed in OpenBSD 7.7 (unused since 1991) + // Removed in OpenBSD 7.7 "ATF_COM" | "ATF_PERM" | "ATF_PUBL" | "ATF_USETRAILERS" => true, + // Removed in OpenBSD 7.8 + "CTL_FS" | "SO_NETPROC" => true, + _ => false, } });