summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/freebsd/freebsd12
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-07-12 20:45:56 -0600
committerAlan Somers <asomers@gmail.com>2021-07-12 20:45:56 -0600
commitdff7a24bdbd6670b0700e61a114a4dac6f19aa90 (patch)
treed17dad4328b482472f0c21b47599967ea5ab2e66 /src/unix/bsd/freebsdlike/freebsd/freebsd12
parent13c8ceb1ed9077295edf68747bb282a6bee5f31c (diff)
downloadrust-libc-dff7a24bdbd6670b0700e61a114a4dac6f19aa90.tar.gz
Define EINTEGRITY on FreeBSD 12
At the time that @pizzamig added it here, it was only available in FreeBSD 13. But it has subsequently been MFCed and released in FreeBSD 12.2.
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd/freebsd12')
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs b/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
index 2def90089f..dc91aad447 100644
--- a/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
@@ -204,7 +204,8 @@ pub const RAND_MAX: ::c_int = 0x7fff_fffd;
pub const SO_DOMAIN: ::c_int = 0x1019;
-pub const ELAST: ::c_int = 96;
+pub const EINTEGRITY: ::c_int = 97;
+pub const ELAST: ::c_int = 97;
extern "C" {
pub fn setgrent();