diff options
author | Marc Brinkmann <git@marcbrinkmann.de> | 2016-01-25 17:48:33 +0100 |
---|---|---|
committer | Kamal Marhubi <kamal@marhubi.com> | 2016-01-27 15:10:42 -0500 |
commit | 4a2de56c6af5f30b97cd83295dcedd1f14012676 (patch) | |
tree | 1539ec99e4b402f64206facf10b3abecfaa412e3 /src/lib.rs | |
parent | e8f014da57a50a24e426668ffb727159b0fdacb8 (diff) | |
download | nix-4a2de56c6af5f30b97cd83295dcedd1f14012676.zip |
Added if_nametoindex (and necessary module based on Cs net/if.h)
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,9 @@ pub mod mqueue; #[cfg(any(target_os = "linux", target_os = "macos"))] pub mod poll; +#[cfg(any(target_os = "linux"))] +pub mod net; + #[cfg(any(target_os = "linux", target_os = "android"))] pub mod sched; |