From 56701a7f70ae751cdea66bf9076475cbe329505f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Marie?= <semarie@users.noreply.github.com>
Date: Sun, 13 Aug 2017 12:29:45 +0200
Subject: [PATCH] skip siginfo_t.si_addr type check on OpenBSD

the type changed from *c_char to *c_void in 6.1
---
 libc-test/build.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libc-test/build.rs b/libc-test/build.rs
index d6d503d2..9e4b9438 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -612,6 +612,8 @@ fn main() {
         (struct_ == "aiocb" && field == "aio_buf") ||
         // stack_t.ss_sp's type changed from FreeBSD 10 to 11 in svn r294930
         (freebsd && struct_ == "stack_t" && field == "ss_sp") ||
+        // type siginfo_t.si_addr changed from OpenBSD 6.0 to 6.1
+        (openbsd && struct_ == "siginfo_t" && field == "si_addr") ||
         // this one is an anonymous union
         (linux && struct_ == "ff_effect" && field == "u")
     });
-- 
GitLab