summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2018-02-02 20:32:47 -0800
committerBryant Mairs <bryantmairs@google.com>2018-02-02 21:15:16 -0800
commit19c8df9204b3ee0cbb5054fb1ef84c7bedf05e2f (patch)
tree330b7190730627e07a4a369dca335bcdc53bb714 /src
parent57155dcc2f91cce59cae7110f8eb6dc848d62e95 (diff)
downloadnix-19c8df9204b3ee0cbb5054fb1ef84c7bedf05e2f.zip
Re-add ifaddrs module
Mistakingly removed in d1be45d8405
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index effb31de..3873f4a1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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",