summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-13 22:07:17 +0000
committerbors <bors@rust-lang.org>2021-08-13 22:07:17 +0000
commitecead080ba15d478592947c2c72fd123d078a61a (patch)
treeafec26114f384291b261a44f9965926357e7f205
parent538c403c2e7751f3f0688c176f733a13e1574d95 (diff)
parentf7267cff37f9295678471a6d88c6e82653e250ea (diff)
downloadrust-libc-ecead080ba15d478592947c2c72fd123d078a61a.tar.gz
Auto merge of #2335 - semarie:openbsd-maxpathlen, r=JohnTitor
openbsd: add sys/param.h include for MAXPATHLEN in tests unbreak OpenBSD test target after #2332 . I checked if the value was right, but not tested it. my bad.
-rwxr-xr-xlibc-test/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index ddcb7bd443..f070e4fb51 100755
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -456,6 +456,7 @@ fn test_openbsd(target: &str) {
"pthread_np.h",
"sys/syscall.h",
"sys/shm.h",
+ "sys/param.h",
}
cfg.skip_struct(move |ty| {