diff options
author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-07-18 22:25:25 +0200 |
---|---|---|
committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-07-18 22:25:25 +0200 |
commit | c4ae567db9be37fa572e9f90f2d8e1110565742a (patch) | |
tree | c706e4f612c623b308e0fdbb8c95cebf8a4fefa0 /src/sys/mman.rs | |
parent | 29193bad7a79c899351c7f92106aa60372f97dd9 (diff) | |
download | nix-c4ae567db9be37fa572e9f90f2d8e1110565742a.zip |
Fix NetBSD build
Diffstat (limited to 'src/sys/mman.rs')
-rw-r--r-- | src/sys/mman.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs index 5bc1c82d..a1bf6134 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -131,7 +131,7 @@ mod consts { const MAP_RENAME = libc::MAP_RENAME, const MAP_NORESERVE = libc::MAP_NORESERVE, const MAP_HASSEMAPHORE = libc::MAP_HASSEMAPHORE, - #[cfg(not(target_os = "openbsd"))] + #[cfg(not(any(target_os = "openbsd", target_os = "netbsd")))] const MAP_STACK = libc::MAP_STACK, #[cfg(target_os = "netbsd")] const MAP_WIRED = libc::MAP_WIRED, |