aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/dlopen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/dlopen.rs')
-rw-r--r--src/api/dlopen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/dlopen.rs b/src/api/dlopen.rs
index 945dfb0..1bb2a0a 100644
--- a/src/api/dlopen.rs
+++ b/src/api/dlopen.rs
@@ -1,4 +1,4 @@
-#![cfg(target_os = "linux")]
+#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
#![allow(dead_code)]
use libc;