Skip to content

Commit ae294f9

Browse files
committed
Add res_init
1 parent 288ed55 commit ae294f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ extern {
694694
res: *mut *mut addrinfo) -> ::c_int;
695695
pub fn freeaddrinfo(res: *mut addrinfo);
696696
pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char;
697+
pub fn res_init() -> ::c_int;
697698

698699
#[cfg_attr(target_os = "netbsd", link_name = "__gmtime_r50")]
699700
pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;

0 commit comments

Comments
 (0)