From 66529ed3759cfd2994148b117984cddb15ddb4a6 Mon Sep 17 00:00:00 2001
From: Elichai Turkel <elichai.turkel@gmail.com>
Date: Wed, 20 Nov 2019 14:54:57 +0200
Subject: [PATCH] Add a rule for flock64 in libc-test build script

---
 libc-test/build.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libc-test/build.rs b/libc-test/build.rs
index b2512b85..977d444a 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2230,6 +2230,9 @@ fn test_linux(target: &str) {
 
             t if t.ends_with("_t") => t.to_string(),
 
+            // This is either a struct or a typedef to a struct
+            "flock64" if musl => format!("struct {}", ty),
+
             // put `struct` in front of all structs:.
             t if is_struct => format!("struct {}", t),
 
-- 
GitLab