diff options
author | Johannes Lundberg <johalun0@gmail.com> | 2018-09-10 20:35:07 +0100 |
---|---|---|
committer | Johannes Lundberg <johalun0@gmail.com> | 2018-09-10 20:35:07 +0100 |
commit | f80b024850179604c7bdeb7ccd092232c4e080c8 (patch) | |
tree | ede6591889b72a0554a8ee8231a74a2b38ecc806 /libc-test | |
parent | 2f218e9f8cef20d5aaa4d300c0605d47a06dc658 (diff) | |
download | rust-libc-f80b024850179604c7bdeb7ccd092232c4e080c8.tar.gz |
Add SO_REUSEPORT_LB to whitelist for build tests
Diffstat (limited to 'libc-test')
-rw-r--r-- | libc-test/build.rs | 3 |
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 |