Skip to content

Commit

Permalink
Haiku: fix build as IP_RECVTOS does not exist
Browse files Browse the repository at this point in the history
This is a backport of #369 / commit ed23383
  • Loading branch information
nielx authored and Thomasdezeeuw committed Apr 3, 2024
1 parent 71cad22 commit 2c4e104
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2c4e104

Please sign in to comment.