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 was adapted to 3.3-stable from
51920ede68.
This commit is contained in:
Camilla Löwy
2024-01-24 16:54:52 +01:00
parent 15b771759d
commit a1090c867d
4 changed files with 6 additions and 3 deletions
+1
View File
@@ -42,6 +42,7 @@
#include <poll.h>
#include <signal.h>
#include <time.h>
#include <linux/input-event-codes.h>
#define GLFW_BORDER_SIZE 4
#define GLFW_CAPTION_HEIGHT 24