27 lines
879 B
Plaintext
27 lines
879 B
Plaintext
From 2c01fea34a8198ce97b7341681bc5401f65f45fb Mon Sep 17 00:00:00 2001
|
|
From: Jessica Hamilton <jessica.l.hamilton@gmail.com>
|
|
Date: Sat, 2 Sep 2017 06:50:49 -0500
|
|
Subject: [PATCH] haiku: res_init link name is __res_init.
|
|
|
|
---
|
|
src/unix/mod.rs | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
|
|
index 14bf9c53..53db19e2 100644
|
|
--- a/src/unix/mod.rs
|
|
+++ b/src/unix/mod.rs
|
|
@@ -716,7 +716,8 @@ extern {
|
|
#[cfg_attr(any(
|
|
all(target_os = "linux", not(target_env = "musl")),
|
|
target_os = "freebsd",
|
|
- target_os = "dragonfly"),
|
|
+ target_os = "dragonfly",
|
|
+ target_os = "haiku"),
|
|
link_name = "__res_init")]
|
|
#[cfg_attr(any(target_os = "macos", target_os = "ios"),
|
|
link_name = "res_9_init")]
|
|
--
|
|
2.16.2
|
|
|