File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ fn main() {
173
173
cfg. header ( "sys/xattr.h" ) ;
174
174
}
175
175
cfg. header ( "sys/ipc.h" ) ;
176
+ cfg. header ( "sys/sem.h" ) ;
176
177
cfg. header ( "sys/msg.h" ) ;
177
178
cfg. header ( "sys/shm.h" ) ;
178
179
cfg. header ( "sys/fsuid.h" ) ;
Original file line number Diff line number Diff line change @@ -570,12 +570,6 @@ extern {
570
570
571
571
pub fn flock ( fd : :: c_int , operation : :: c_int ) -> :: c_int ;
572
572
573
- #[ cfg_attr( target_os = "netbsd" , link_name = "__getitimer50" ) ]
574
- pub fn getitimer ( which : :: c_int , curr_value : * mut :: itimerval ) -> :: c_int ;
575
- #[ cfg_attr( target_os = "netbsd" , link_name = "__setitimer50" ) ]
576
- pub fn setitimer ( which : :: c_int ,
577
- new_value : * :: itimerval ,
578
- old_value : * :: itimerval ) -> :: c_int ;
579
573
#[ cfg_attr( target_os = "netbsd" , link_name = "__gettimeofday50" ) ]
580
574
pub fn gettimeofday ( tp : * mut :: timeval ,
581
575
tz : * mut :: c_void ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -227,10 +227,9 @@ s! {
227
227
}
228
228
229
229
pub struct sembuf {
230
- pub semval: :: c_ushort,
231
- pub semzcnt: :: c_ushort,
232
- pub semncnt: :: c_ushort,
233
- pub sempid: :: pid_t,
230
+ pub sem_num: :: c_ushort,
231
+ pub sem_op: :: c_short,
232
+ pub semn_flg: :: c_short,
234
233
}
235
234
236
235
pub struct semid_ds {
You can’t perform that action at this time.
0 commit comments