From 4ec884ac6dc837ee4398ae5a5dfdbc525a4c7ac0 Mon Sep 17 00:00:00 2001 From: Alan Somers <asomers@gmail.com> Date: Sun, 13 Nov 2016 08:07:45 -0700 Subject: [PATCH] Fix undefined symbol errors in CI --- libc-test/build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc-test/build.rs b/libc-test/build.rs index 96d714c3..29f9d362 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -216,6 +216,10 @@ fn main() { cfg.header("sys/ioctl_compat.h"); } + if linux || freebsd || netbsd || apple { + cfg.header("aio.h"); + } + cfg.type_name(move |ty, is_struct| { match ty { // Just pass all these through, no need for a "struct" prefix -- GitLab