summaryrefslogtreecommitdiff
path: root/src/unix/notbsd/linux/other/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/notbsd/linux/other/mod.rs')
-rw-r--r--src/unix/notbsd/linux/other/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs
index 774040803f..0a957d1fc7 100644
--- a/src/unix/notbsd/linux/other/mod.rs
+++ b/src/unix/notbsd/linux/other/mod.rs
@@ -122,6 +122,12 @@ s! {
pub msg_flags: ::c_int,
}
+ pub struct cmsghdr {
+ pub cmsg_len: ::size_t,
+ pub cmsg_level: ::c_int,
+ pub cmsg_type: ::c_int,
+ }
+
pub struct termios {
pub c_iflag: ::tcflag_t,
pub c_oflag: ::tcflag_t,