summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-09 11:41:39 +0000
committerbors <bors@rust-lang.org>2019-08-09 11:41:39 +0000
commit7e4ece1a97d6805b663d940f6ed9dca0a3bc73d6 (patch)
treee063dbd2a4f2aa88f5cc022ec1f40067afdc587c
parent0e12753378e08400b38cce869dae7510546511c6 (diff)
parent7ddda6fd3bcba4d8eb8f011c609b9d10684aa2c8 (diff)
downloadrust-libc-7e4ece1a97d6805b663d940f6ed9dca0a3bc73d6.tar.gz
Auto merge of #1455 - semarie:openbsd-KERN_TIMEOUT_STATS, r=gnzlbg
define KERN_TIMEOUT_STATS and incr KERN_MAXID on OpenBSD `KERN_TIMEOUT_STATS` has been defined in [sys/sysctl.h (1.194)](https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/sysctl.h?rev=1.194&content-type=text/x-cvsweb-markup)
-rw-r--r--src/unix/bsd/netbsdlike/openbsd/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs
index 710a4fc40c..a397d58c93 100644
--- a/src/unix/bsd/netbsdlike/openbsd/mod.rs
+++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs
@@ -1183,7 +1183,8 @@ pub const KERN_CONSBUF: ::c_int = 83;
pub const KERN_AUDIO: ::c_int = 84;
pub const KERN_CPUSTATS: ::c_int = 85;
pub const KERN_PFSTATUS: ::c_int = 86;
-pub const KERN_MAXID: ::c_int = 87;
+pub const KERN_TIMEOUT_STATS: ::c_int = 87;
+pub const KERN_MAXID: ::c_int = 88;
pub const KERN_PROC_ALL: ::c_int = 0;
pub const KERN_PROC_PID: ::c_int = 1;