summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index e6c7880c..72d59649 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -38,7 +38,13 @@ pub mod mman;
pub mod pthread;
-#[cfg(any(target_os = "android", target_os = "linux"))]
+#[cfg(any(target_os = "android",
+ target_os = "dragonfly",
+ target_os = "freebsd",
+ target_os = "linux",
+ target_os = "macos",
+ target_os = "netbsd",
+ target_os = "openbsd"))]
pub mod ptrace;
#[cfg(target_os = "linux")]