Skip to content

Commit 3935a88

Browse files
operutkatgross35
authored andcommitted
Add missing getauxval for Linux uClibc targets
(apply <#3738> to `main`) (cherry picked from commit 3940851)
1 parent 8258589 commit 3935a88

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/uclibc

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/uclibc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ extern "C" {
431431
pub fn setrlimit(resource: ::__rlimit_resource_t, rlim: *const ::rlimit) -> ::c_int;
432432
pub fn getpriority(which: ::__priority_which_t, who: ::id_t) -> ::c_int;
433433
pub fn setpriority(which: ::__priority_which_t, who: ::id_t, prio: ::c_int) -> ::c_int;
434+
pub fn getauxval(type_: ::c_ulong) -> ::c_ulong;
434435
}
435436

436437
cfg_if! {

0 commit comments

Comments
 (0)