summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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::*;