winit/src/platform_impl/linux
Tobias Kortkamp cb93554938 Fix build on FreeBSD (#815)
* Fix build on FreeBSD

error[E0432]: unresolved import `libc::__errno_location`
  --> src/platform/linux/x11/mod.rs:22:85
   |
22 | use libc::{select, fd_set, FD_SET, FD_ZERO, FD_ISSET, EINTR, EINVAL, ENOMEM, EBADF, __errno_location};
   |                                                                                     ^^^^^^^^^^^^^^^^ no `__errno_location` in the root

__errno_location is called __error on FreeBSD and __errno on Open- and NetBSD.

Signed-off-by: Tobias Kortkamp <t@tobik.me>

* Import __error / __errno on *BSD as __errno_location

Signed-off-by: Tobias Kortkamp <t@tobik.me>

* Add changelog entry

Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-04-07 16:41:52 +02:00
..
wayland Wayland's eventloop 2.0 (#790) 2019-02-21 10:51:43 +01:00
x11 Fix build on FreeBSD (#815) 2019-04-07 16:41:52 +02:00
dlopen.rs Event Loop 2.0 API and Windows implementation (#638) 2019-02-05 10:30:33 -05:00
mod.rs Wayland's eventloop 2.0 (#790) 2019-02-21 10:51:43 +01:00