File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -907,6 +907,7 @@ fn test_netbsd(target: &str) {
907
907
"grp.h" ,
908
908
"ifaddrs.h" ,
909
909
"langinfo.h" ,
910
+ "net/bpf.h" ,
910
911
"net/if.h" ,
911
912
"net/if_arp.h" ,
912
913
"net/if_dl.h" ,
Original file line number Diff line number Diff line change 72
72
pub uid: :: uid_t,
73
73
pub gid: :: gid_t,
74
74
pub mode: :: mode_t,
75
+ #[ cfg( target_os = "openbsd" ) ]
75
76
pub seq: :: c_ushort,
77
+ #[ cfg( target_os = "netbsd" ) ]
78
+ pub _seq: :: c_ushort,
79
+ #[ cfg( target_os = "openbsd" ) ]
76
80
pub key: :: key_t,
81
+ #[ cfg( target_os = "netbsd" ) ]
82
+ pub _key: :: key_t,
77
83
}
78
84
79
85
pub struct ptrace_io_desc {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub type fsfilcnt_t = u64;
7
7
pub type idtype_t = :: c_int ;
8
8
pub type mqd_t = :: c_int ;
9
9
type __pthread_spin_t = __cpu_simple_lock_nv_t ;
10
- pub type vm_size_t = :: uintptr_t ;
10
+ pub type vm_size_t = :: uintptr_t ; // FIXME: deprecated since long time
11
11
pub type lwpid_t = :: c_uint ;
12
12
pub type shmatt_t = :: c_uint ;
13
13
@@ -427,7 +427,7 @@ s_no_extra_traits! {
427
427
pub ut_session: u16 ,
428
428
pub ut_type: u16 ,
429
429
pub ut_pid: :: pid_t,
430
- pub ut_exit: __exit_status,
430
+ pub ut_exit: __exit_status, // FIXME: when anonymous struct are supported
431
431
pub ut_ss: sockaddr_storage,
432
432
pub ut_tv: :: timeval,
433
433
pub ut_pad: [ u8 ; _UTX_PADSIZE] ,
You can’t perform that action at this time.
0 commit comments