We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef8eca6 commit 316a7fcCopy full SHA for 316a7fc
libc-test/build.rs
@@ -2708,6 +2708,10 @@ fn test_linux(target: &str) {
2708
"posix_spawn_file_actions_init" if uclibc => true,
2709
"posix_spawn_file_actions_destroy" if uclibc => true,
2710
2711
+ // uclibc defines the flags type as a uint, but dependent crates
2712
+ // assume it's a int instead.
2713
+ "getnameinfo" if uclibc => true,
2714
+
2715
_ => false,
2716
}
2717
});
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