1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Make Godot compile on FreeBSD

This commit is contained in:
MBCX
2024-12-05 10:04:25 -04:00
parent 1f47e4c4e3
commit 6bc80effbb
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>