From f80b024850179604c7bdeb7ccd092232c4e080c8 Mon Sep 17 00:00:00 2001
From: Johannes Lundberg <johalun0@gmail.com>
Date: Mon, 10 Sep 2018 20:35:07 +0100
Subject: [PATCH] Add SO_REUSEPORT_LB to whitelist for build tests

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

diff --git a/libc-test/build.rs b/libc-test/build.rs
index 5b4a9c47..2f817a02 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
-- 
GitLab