mirror of
https://github.com/glfw/glfw.git
synced 2024-11-24 21:54:35 +00:00
Wayland: Fix compilation on FreeBSD
The list of compile-time dependencies on FreeBSD lacked evdev-proto. Unlike on Linux, the input-event-codes.h header file was not implicitly included on FreeBSD. Fixes #2445
This commit is contained in:
parent
291f4d89cd
commit
51920ede68
@ -101,12 +101,12 @@ On Fedora and derivatives like Red Hat you will need the `wayland-devel`,
|
||||
sudo dnf install wayland-devel libxkbcommon-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel
|
||||
@endcode
|
||||
|
||||
On FreeBSD you will need the `wayland` and `libxkbcommon` packages. The X11 headers are
|
||||
installed along the end-user X11 packages, so if you have an X server running you should
|
||||
have the headers as well. If not, install the `xorgproto` package.
|
||||
On FreeBSD you will need the `wayland`, `libxkbcommon` and `evdev-proto` packages. The
|
||||
X11 headers are installed along the end-user X11 packages, so if you have an X server
|
||||
running you should have the headers as well. If not, install the `xorgproto` package.
|
||||
|
||||
@code{.sh}
|
||||
pkg install wayland libxkbcommon xorgproto
|
||||
pkg install wayland libxkbcommon evdev-proto xorgproto
|
||||
@endcode
|
||||
|
||||
Once you have the required dependencies, move on to @ref compile_generate.
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include <sys/mman.h>
|
||||
#include <sys/timerfd.h>
|
||||
#include <poll.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
#include "wayland-client-protocol.h"
|
||||
#include "xdg-shell-client-protocol.h"
|
||||
|
Loading…
Reference in New Issue
Block a user