Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <[email protected]> * Import __error / __errno on *BSD as __errno_location Signed-off-by: Tobias Kortkamp <[email protected]> * Add changelog entry Signed-off-by: Tobias Kortkamp <[email protected]>
- Loading branch information