aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland
diff options
context:
space:
mode:
authorMichael Neumann <mneumann@ntecs.de>2015-08-29 22:54:17 +0200
committerMichael Neumann <mneumann@ntecs.de>2015-08-30 13:52:09 +0200
commitb707959c2c0ae97c2225c2e6dbc07fc754125458 (patch)
treebd9b70c965bd0edbf2a96c1be7ecc4c440488c87 /src/api/wayland
parentb8b1b80631e1335a7ab747f34e1c67dfa0790a10 (diff)
downloadglutin-b707959c2c0ae97c2225c2e6dbc07fc754125458.tar.gz
glutin-b707959c2c0ae97c2225c2e6dbc07fc754125458.zip
Make it work on DragonFly/FreeBSD
Tested on DragonFly BSD. Should work similarily on FreeBSD.
Diffstat (limited to 'src/api/wayland')
-rw-r--r--src/api/wayland/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wayland/mod.rs b/src/api/wayland/mod.rs
index 0381f31..b46e2d1 100644
--- a/src/api/wayland/mod.rs
+++ b/src/api/wayland/mod.rs
@@ -1,4 +1,4 @@
-#![cfg(target_os = "linux")]
+#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
#![allow(unused_variables, dead_code)]
use self::wayland::egl::{EGLSurface, is_egl_available};