From 2c4e1043f6626355664d9c6e0af640ae2a7491b0 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Fri, 28 Apr 2023 05:29:43 +0000 Subject: [PATCH] Haiku: fix build as IP_RECVTOS does not exist This is a backport of #369 / commit ed23383 --- src/socket.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/socket.rs b/src/socket.rs index 90649d9d..88a40bfd 100644 --- a/src/socket.rs +++ b/src/socket.rs @@ -1448,6 +1448,7 @@ impl Socket { #[cfg(not(any( target_os = "dragonfly", target_os = "fuchsia", + target_os = "haiku", target_os = "illumos", target_os = "netbsd", target_os = "openbsd", @@ -1479,6 +1480,7 @@ impl Socket { #[cfg(not(any( target_os = "dragonfly", target_os = "fuchsia", + target_os = "haiku", target_os = "illumos", target_os = "netbsd", target_os = "openbsd",