Fix compilation on Solaris/Illumos

This commit is contained in:
Nikita Baksalyar 2016-06-10 05:53:22 +05:00
parent 9ae6227b42
commit a1c6ad7706
No known key found for this signature in database
GPG Key ID: 3EEA378A0EA758DA

View File

@ -300,6 +300,14 @@ s! {
pub int_p_sign_posn: ::c_char,
pub int_n_sign_posn: ::c_char,
}
pub struct sem_t {
pub sem_count: u32,
pub sem_type: u16,
pub sem_magic: u16,
pub sem_pad1: [u64; 3],
pub sem_pad2: [u64; 2]
}
}
pub const LC_CTYPE: ::c_int = 0;