From 04c7f1166c07fa8bd83f367288b20793d3d985e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Marie?= <semarie@users.noreply.github.com>
Date: Mon, 5 Aug 2019 09:14:42 +0200
Subject: [PATCH] skip roundtrip on few struct 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 6edbd0f2..16be6ac3 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");
 }
 
-- 
GitLab