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 f6a445f6..e6c5612d 100644
--- a/src/features.rs
+++ b/src/features.rs
@@ -92,7 +92,7 @@ mod os {
}
}
-#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "dragonfly", target_os = "ios", target_os = "openbsd"))]
+#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "dragonfly", target_os = "ios", target_os = "openbsd", target_os = "netbsd"))]
mod os {
pub fn socket_atomic_cloexec() -> bool {
false