From b707959c2c0ae97c2225c2e6dbc07fc754125458 Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Sat, 29 Aug 2015 22:54:17 +0200 Subject: Make it work on DragonFly/FreeBSD Tested on DragonFly BSD. Should work similarily on FreeBSD. --- src/api/glx/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/glx') diff --git a/src/api/glx/mod.rs b/src/api/glx/mod.rs index 72bdf03..0b2cf9f 100644 --- a/src/api/glx/mod.rs +++ b/src/api/glx/mod.rs @@ -1,4 +1,4 @@ -#![cfg(all(target_os = "linux", feature = "window"))] +#![cfg(all(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"), feature = "window"))] use BuilderAttribs; use ContextError; -- cgit v1.2.3