diff options
author | Wesley Moore <wes@wezm.net> | 2018-03-12 11:03:46 +1100 |
---|---|---|
committer | Wesley Moore <wes@wezm.net> | 2018-03-12 11:03:46 +1100 |
commit | be2f06276732bf84e3b19bbfd707ddcc3e00f678 (patch) | |
tree | e10b0fd610cec1f55605c7a386eb8847c9ac1306 /src/unix/bsd/freebsdlike/freebsd | |
parent | 787420a7a363275e20f15744a5681795c9ae9045 (diff) | |
download | rust-libc-be2f06276732bf84e3b19bbfd707ddcc3e00f678.tar.gz |
Fix test suite on FreeBSD 11
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd')
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 34d34d89ec..e7a312741c 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -3,7 +3,7 @@ pub type clock_t = i32; pub type ino_t = u32; pub type lwpid_t = i32; pub type nlink_t = u16; -pub type blksize_t = u32; +pub type blksize_t = i32; pub type clockid_t = ::c_int; pub type sem_t = _sem; @@ -182,7 +182,9 @@ pub const EOWNERDEAD: ::c_int = 96; pub const ELAST: ::c_int = 96; pub const RLIMIT_NPTS: ::c_int = 11; pub const RLIMIT_SWAP: ::c_int = 12; -pub const RLIM_NLIMITS: ::rlim_t = 13; +pub const RLIMIT_KQUEUES: ::c_int = 13; +pub const RLIMIT_UMTXP: ::c_int = 14; +pub const RLIM_NLIMITS: ::rlim_t = 15; pub const Q_GETQUOTA: ::c_int = 0x700; pub const Q_SETQUOTA: ::c_int = 0x800; @@ -801,10 +803,10 @@ pub const SHUTDOWN_TIME: ::c_short = 8; pub const LC_COLLATE_MASK: ::c_int = (1 << 0); pub const LC_CTYPE_MASK: ::c_int = (1 << 1); -pub const LC_MESSAGES_MASK: ::c_int = (1 << 2); -pub const LC_MONETARY_MASK: ::c_int = (1 << 3); -pub const LC_NUMERIC_MASK: ::c_int = (1 << 4); -pub const LC_TIME_MASK: ::c_int = (1 << 5); +pub const LC_MONETARY_MASK: ::c_int =(1 << 2); +pub const LC_NUMERIC_MASK: ::c_int = (1 << 3); +pub const LC_TIME_MASK: ::c_int = (1 << 4); +pub const LC_MESSAGES_MASK: ::c_int = (1 << 5); pub const LC_ALL_MASK: ::c_int = LC_COLLATE_MASK | LC_CTYPE_MASK | LC_MESSAGES_MASK |