summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElichai Turkel <elichai.turkel@gmail.com>2019-11-20 14:54:57 +0200
committerElichai Turkel <elichai.turkel@gmail.com>2019-11-21 23:41:54 +0200
commit66529ed3759cfd2994148b117984cddb15ddb4a6 (patch)
tree20361544759a9ac32b9746d764deb91a84874181
parentc70634e4866f668a77260997c8bd7716b8905cdd (diff)
downloadrust-libc-66529ed3759cfd2994148b117984cddb15ddb4a6.tar.gz
Add a rule for flock64 in libc-test build script
-rw-r--r--libc-test/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index b2512b85d6..977d444a46 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),