File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed
Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ pub const RTLD_NOLOAD: ::c_int = 0x8;
502502
503503pub const SYS_gettid : :: c_long = 4222 ; // Valid for O32
504504
505+ #[ link( name = "util" ) ]
505506extern {
506507 pub fn sysctl ( name : * mut :: c_int ,
507508 namelen : :: c_int ,
Original file line number Diff line number Diff line change @@ -478,7 +478,6 @@ extern {
478478 static mut program_invocation_short_name: * mut :: c_char ;
479479}
480480
481- #[ link( name = "util" ) ]
482481extern {
483482 pub fn shm_open ( name : * const c_char , oflag : :: c_int ,
484483 mode : mode_t ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -469,6 +469,7 @@ cfg_if! {
469469 }
470470}
471471
472+ #[ link( name = "util" ) ]
472473extern {
473474 pub fn sysctl ( name : * mut :: c_int ,
474475 namelen : :: c_int ,
You can’t perform that action at this time.
0 commit comments