From 1a2d6d51f4f585e975eb3fb420904427d1f706f4 Mon Sep 17 00:00:00 2001 From: "Andrew J. Stone" Date: Thu, 7 May 2015 23:27:37 -0400 Subject: Get the library to build on freebsd `cargo build` works. --- src/features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/features.rs') 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 -- cgit v1.2.3