summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike
diff options
context:
space:
mode:
authorMichael Neumann <mneumann@ntecs.de>2017-11-17 12:36:29 +0100
committerMichael Neumann <mneumann@ntecs.de>2017-11-17 12:36:29 +0100
commitce48715a5ef921a4cd762d0489040bcadcc8490f (patch)
treee9bda966554668bae3fd9aba5c5eda082d880b98 /src/unix/bsd/freebsdlike
parent5cacf97831941c4985e1a814aed2a15879a5ae26 (diff)
downloadrust-libc-ce48715a5ef921a4cd762d0489040bcadcc8490f.tar.gz
Add MADV_SETMAP for DragonFly
Diffstat (limited to 'src/unix/bsd/freebsdlike')
-rw-r--r--src/unix/bsd/freebsdlike/dragonfly/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/dragonfly/mod.rs b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
index d8b9904291..97b9dc6fa3 100644
--- a/src/unix/bsd/freebsdlike/dragonfly/mod.rs
+++ b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
@@ -174,6 +174,7 @@ pub const RAND_MAX: ::c_int = 0x7fff_ffff;
pub const PTHREAD_STACK_MIN: ::size_t = 16384;
pub const SIGSTKSZ: ::size_t = 40960;
pub const MADV_INVAL: ::c_int = 10;
+pub const MADV_SETMAP: ::c_int = 11;
pub const O_CLOEXEC: ::c_int = 0x00020000;
pub const O_DIRECTORY: ::c_int = 0x08000000;
pub const F_GETLK: ::c_int = 7;