diff --git a/libc-test/build.rs b/libc-test/build.rs index d4ad4a9a..7eafc086 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -369,6 +369,11 @@ fn test_openbsd(target: &str) { (struct_ == "siginfo_t" && field == "si_addr") }); + cfg.skip_roundtrip(move |s| match s { + "dirent" | "utsname" | "utmp" => true, + _ => false, + }); + cfg.generate("../src/lib.rs", "main.rs"); }