summaryrefslogtreecommitdiff
path: root/src/features.rs
diff options
context:
space:
mode:
authorAndrew J. Stone <andrew.j.stone.1@gmail.com>2015-05-07 23:27:37 -0400
committerCarl Lerche <me@carllerche.com>2015-05-11 22:06:19 -0700
commit1a2d6d51f4f585e975eb3fb420904427d1f706f4 (patch)
treebdff15cefec1fe003b7b78e0233f208611757a0e /src/features.rs
parentecbbf1a8176130ca845b23c3e9dfe37d45da3c13 (diff)
downloadnix-1a2d6d51f4f585e975eb3fb420904427d1f706f4.zip
Get the library to build on freebsd
`cargo build` works.
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