We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c5418 commit 7775ce2Copy full SHA for 7775ce2
libc-test/build.rs
@@ -2725,6 +2725,10 @@ fn test_linux(target: &str) {
2725
"posix_spawn_file_actions_init" if uclibc => true,
2726
"posix_spawn_file_actions_destroy" if uclibc => true,
2727
2728
+ // uclibc defines the flags type as a uint, but dependent crates
2729
+ // assume it's a int instead.
2730
+ "getnameinfo" if uclibc => true,
2731
+
2732
_ => false,
2733
}
2734
});
src/unix/linux_like/linux/uclibc/mod.rs
@@ -271,7 +271,7 @@ extern "C" {
271
hostlen: ::socklen_t,
272
serv: *mut ::c_char,
273
sevlen: ::socklen_t,
274
- flags: ::c_uint,
+ flags: ::c_int,
275
) -> ::c_int;
276
277
pub fn pwritev(
0 commit comments