summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c3807876..ccf9745b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,6 +3,7 @@
//! Modules are structured according to the C header file that they would be
//! defined in.
#![crate_name = "nix"]
+#![cfg(unix)]
#![allow(non_camel_case_types)]
#![deny(warnings)]