Skip to content

Commit 652b832

Browse files
committed
Correct mqd_t on DragonFlyBSD
1 parent 75c71f9 commit 652b832

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/unix/bsd/freebsdlike/dragonfly/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub type uuid_t = ::uuid;
1616
pub type fsblkcnt_t = u64;
1717
pub type fsfilcnt_t = u64;
1818

19+
pub type mqd_t = ::c_int;
1920
pub type sem_t = *mut sem;
2021

2122
#[cfg_attr(feature = "extra_traits", derive(Debug))]

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub type key_t = ::c_long;
1515
pub type msglen_t = ::c_ulong;
1616
pub type msgqnum_t = ::c_ulong;
1717

18+
pub type mqd_t = *mut ::c_void;
1819
pub type posix_spawnattr_t = *mut ::c_void;
1920
pub type posix_spawn_file_actions_t = *mut ::c_void;
2021

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ pub type dev_t = u32;
22
pub type mode_t = u16;
33
pub type pthread_attr_t = *mut ::c_void;
44
pub type rlim_t = i64;
5-
pub type mqd_t = *mut ::c_void;
65
pub type pthread_mutex_t = *mut ::c_void;
76
pub type pthread_mutexattr_t = *mut ::c_void;
87
pub type pthread_cond_t = *mut ::c_void;

0 commit comments

Comments
 (0)