Skip to content

Commit 17c74f4

Browse files
committed
haiku: res_init link name is __res_init.
1 parent 07a4303 commit 17c74f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,8 @@ extern {
708708
#[cfg_attr(any(
709709
all(target_os = "linux", not(target_env = "musl")),
710710
target_os = "freebsd",
711-
target_os = "dragonfly"),
711+
target_os = "dragonfly",
712+
target_os = "haiku"),
712713
link_name = "__res_init")]
713714
#[cfg_attr(any(target_os = "macos", target_os = "ios"),
714715
link_name = "res_9_init")]

0 commit comments

Comments
 (0)