summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_signalfd.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_signalfd.rs b/test/test_signalfd.rs
index bb8941fa..2ca5b61c 100644
--- a/test/test_signalfd.rs
+++ b/test/test_signalfd.rs
@@ -1,3 +1,5 @@
+#![cfg(feature = "signalfd")]
+
extern crate nix;
use nix::unistd;