From a8a3832a0f8e84fad74f98d2e814e20493f89172 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Sat, 2 May 2020 09:27:39 +0000 Subject: [PATCH] Haiku: no SOCK_RDM support in Haiku --- src/sys/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sys/unix.rs b/src/sys/unix.rs index baec76fc..3601c83a 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -150,7 +150,7 @@ impl_debug!( libc::SOCK_DGRAM, #[cfg(not(target_os = "redox"))] libc::SOCK_RAW, - #[cfg(not(target_os = "redox"))] + #[cfg(not(any(target_os = "redox", target_os = "haiku")))] libc::SOCK_RDM, #[cfg(not(target_os = "redox"))] libc::SOCK_SEQPACKET,