vm_size_t does not exist on OpenBSD
This commit is contained in:
parent
b166b11c38
commit
887ac11ed0
@ -31,6 +31,7 @@ pub type posix_spawnattr_t = *mut ::c_void;
|
||||
pub type posix_spawn_file_actions_t = *mut ::c_void;
|
||||
pub type key_t = ::c_int;
|
||||
pub type shmatt_t = ::c_ushort;
|
||||
pub type vm_size_t = ::uintptr_t;
|
||||
|
||||
#[cfg_attr(feature = "extra_traits", derive(Debug))]
|
||||
pub enum timezone {}
|
||||
|
@ -14,6 +14,7 @@ pub type tcflag_t = ::c_uint;
|
||||
pub type speed_t = ::c_uint;
|
||||
pub type nl_item = ::c_int;
|
||||
pub type id_t = i64;
|
||||
pub type vm_size_t = ::uintptr_t;
|
||||
|
||||
#[cfg_attr(feature = "extra_traits", derive(Debug))]
|
||||
pub enum timezone {}
|
||||
|
@ -6,7 +6,6 @@ pub type socklen_t = u32;
|
||||
pub type sa_family_t = u8;
|
||||
pub type pthread_t = ::uintptr_t;
|
||||
pub type nfds_t = ::c_uint;
|
||||
pub type vm_size_t = ::uintptr_t;
|
||||
|
||||
s! {
|
||||
pub struct sockaddr {
|
||||
|
@ -7,6 +7,7 @@ pub type fsfilcnt_t = ::uint64_t;
|
||||
pub type idtype_t = ::c_int;
|
||||
pub type mqd_t = ::c_int;
|
||||
type __pthread_spin_t = __cpu_simple_lock_nv_t;
|
||||
pub type vm_size_t = ::uintptr_t;
|
||||
|
||||
s! {
|
||||
pub struct aiocb {
|
||||
|
Loading…
Reference in New Issue
Block a user