1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

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
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>