diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-02-02 20:32:47 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-02-02 21:15:16 -0800 |
commit | 19c8df9204b3ee0cbb5054fb1ef84c7bedf05e2f (patch) | |
tree | 330b7190730627e07a4a369dca335bcdc53bb714 /src | |
parent | 57155dcc2f91cce59cae7110f8eb6dc848d62e95 (diff) | |
download | nix-19c8df9204b3ee0cbb5054fb1ef84c7bedf05e2f.zip |
Re-add ifaddrs module
Mistakingly removed in d1be45d8405
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,6 +34,15 @@ pub mod errno; #[deny(missing_docs)] pub mod features; pub mod fcntl; +#[deny(missing_docs)] +#[cfg(any(target_os = "dragonfly", + target_os = "freebsd", + target_os = "ios", + target_os = "linux", + target_os = "macos", + target_os = "netbsd", + target_os = "openbsd"))] +pub mod ifaddrs; #[cfg(any(target_os = "linux", target_os = "android"))] pub mod mount; #[cfg(any(target_os = "dragonfly", |