change getnameinfo flags type to int to conform to other libc implementations
This commit is contained in:
parent
10c54181b4
commit
7775ce20b9
|
@ -2725,6 +2725,10 @@ fn test_linux(target: &str) {
|
|||
"posix_spawn_file_actions_init" if uclibc => true,
|
||||
"posix_spawn_file_actions_destroy" if uclibc => true,
|
||||
|
||||
// uclibc defines the flags type as a uint, but dependent crates
|
||||
// assume it's a int instead.
|
||||
"getnameinfo" if uclibc => true,
|
||||
|
||||
_ => false,
|
||||
}
|
||||
});
|
||||
|
|
|
@ -271,7 +271,7 @@ extern "C" {
|
|||
hostlen: ::socklen_t,
|
||||
serv: *mut ::c_char,
|
||||
sevlen: ::socklen_t,
|
||||
flags: ::c_uint,
|
||||
flags: ::c_int,
|
||||
) -> ::c_int;
|
||||
|
||||
pub fn pwritev(
|
||||
|
|
Loading…
Reference in a new issue