Fix BSD errors (hopefully)
This commit is contained in:
parent
99869e02ec
commit
6d959f1a53
@ -664,6 +664,9 @@ fn main() {
|
||||
// the symbol.
|
||||
"uname" if freebsd => true,
|
||||
|
||||
// FIXME: need to upgrade FreeBSD version; see https://github.com/rust-lang/libc/issues/938
|
||||
"setgrent" if freebsd => true,
|
||||
|
||||
// aio_waitcomplete's return type changed between FreeBSD 10 and 11.
|
||||
"aio_waitcomplete" if freebsd => true,
|
||||
|
||||
|
@ -642,7 +642,6 @@ extern {
|
||||
buf: *mut ::c_char,
|
||||
buflen: ::size_t,
|
||||
result: *mut *mut ::passwd) -> ::c_int;
|
||||
#[cfg_attr(target_os = "netbsd", link_name = "__getgrent_r50")]
|
||||
pub fn getgrent_r(grp: *mut ::group,
|
||||
buf: *mut ::c_char,
|
||||
buflen: ::size_t,
|
||||
|
Loading…
Reference in New Issue
Block a user