summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorJohn Gallagher <john@oxidecomputer.com>2023-01-13 20:57:28 -0500
committerJohn Gallagher <john@oxidecomputer.com>2023-01-13 20:57:28 -0500
commit2c4452304ddf38b59c00acd63a451dcf1668bc79 (patch)
treef86b81faa07b60c835d4cfb0864d97ad081827f4 /src/net
parentc5d6732a4254dee0423f83efbb6601104436da6d (diff)
downloadnix-2c4452304ddf38b59c00acd63a451dcf1668bc79.zip
if_nameindex: add illumos target
Diffstat (limited to 'src/net')
-rw-r--r--src/net/if_.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/if_.rs b/src/net/if_.rs
index b2423bc6..ec462607 100644
--- a/src/net/if_.rs
+++ b/src/net/if_.rs
@@ -334,6 +334,7 @@ libc_bitflags!(
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
+ target_os = "illumos",
))]
#[cfg_attr(docsrs, doc(cfg(all())))]
mod if_nameindex {
@@ -465,5 +466,6 @@ mod if_nameindex {
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
+ target_os = "illumos",
))]
pub use if_nameindex::*;