We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602a223 commit aafc9beCopy full SHA for aafc9be
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
@@ -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