summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Lundberg <johalun0@gmail.com>2018-09-10 20:35:07 +0100
committerJohannes Lundberg <johalun0@gmail.com>2018-09-10 20:35:07 +0100
commitf80b024850179604c7bdeb7ccd092232c4e080c8 (patch)
treeede6591889b72a0554a8ee8231a74a2b38ecc806
parent2f218e9f8cef20d5aaa4d300c0605d47a06dc658 (diff)
downloadrust-libc-f80b024850179604c7bdeb7ccd092232c4e080c8.tar.gz
Add SO_REUSEPORT_LB to whitelist for build tests
-rw-r--r--libc-test/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 5b4a9c47d8..2f817a02f5 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -556,7 +556,8 @@ fn main() {
"PD_CLOEXEC" | "PD_ALLOWED_AT_FORK" if freebsd => true,
// These constants were added in FreeBSD 12
- "SF_USER_READAHEAD" if freebsd => true,
+ "SF_USER_READAHEAD" |
+ "SO_REUSEPORT_LB" if freebsd => true,
// These OSX constants are removed in Sierra.
// https://developer.apple.com/library/content/releasenotes/General/APIDiffsMacOS10_12/Swift/Darwin.html