aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorKirill Zdornyy <kirill@dineserve.com>2016-03-01 18:06:13 -0800
committerKirill Zdornyy <kirill@dineserve.com>2016-03-01 18:06:13 -0800
commit74a28adba2a07d56bce9592f24196442192e68e0 (patch)
treed1d0075f4e4f60015c021da70b6eabf67313f37d /src/lib.rs
parent366608d026b7bcdb2b7478e932b0776ad0b51531 (diff)
downloadglutin-74a28adba2a07d56bce9592f24196442192e68e0.tar.gz
glutin-74a28adba2a07d56bce9592f24196442192e68e0.zip
Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a27aa72..fb03bed 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -54,9 +54,9 @@ extern crate cocoa;
extern crate core_foundation;
#[cfg(target_os = "macos")]
extern crate core_graphics;
-#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
+#[cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))]
extern crate x11_dl;
-#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly"))]
+#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd"))]
#[macro_use(wayland_env)]
extern crate wayland_client;