summaryrefslogtreecommitdiff
path: root/src/features.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/features.rs')
-rw-r--r--src/features.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features.rs b/src/features.rs
index 60022995..34c41b32 100644
--- a/src/features.rs
+++ b/src/features.rs
@@ -92,7 +92,7 @@ mod os {
}
}
-#[cfg(any(target_os = "macos", target_os = "ios"))]
+#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "ios"))]
mod os {
pub fn socket_atomic_cloexec() -> bool {
false