We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b7ab29 commit 2c071dcCopy full SHA for 2c071dc
libc-test/build.rs
@@ -2734,6 +2734,10 @@ fn test_linux(target: &str) {
2734
"posix_spawn_file_actions_init" if uclibc => true,
2735
"posix_spawn_file_actions_destroy" if uclibc => true,
2736
2737
+ // uclibc defines the flags type as a uint, but dependent crates
2738
+ // assume it's a int instead.
2739
+ "getnameinfo" if uclibc => true,
2740
+
2741
_ => false,
2742
}
2743
});
src/unix/linux_like/linux/uclibc/mod.rs
@@ -272,7 +272,7 @@ extern "C" {
272
hostlen: ::socklen_t,
273
serv: *mut ::c_char,
274
sevlen: ::socklen_t,
275
- flags: ::c_uint,
+ flags: ::c_int,
276
) -> ::c_int;
277
278
pub fn pwritev(
0 commit comments