Merge pull request #100047 from MBCX/fix-freebsd-compilation

Make Godot compile on `FreeBSD`
This commit is contained in:
Thaddeus Crews 2024-12-05 14:12:11 -06:00
commit 49e033f8e2
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
5 changed files with 34 additions and 2 deletions

View file

@ -32,8 +32,12 @@
#ifdef WAYLAND_ENABLED
// FIXME: Does this cause issues with *BSDs?
#ifdef __FreeBSD__
#include <dev/evdev/input-event-codes.h>
#else
// Assume Linux.
#include <linux/input-event-codes.h>
#endif
// For the actual polling thread.
#include <poll.h>