diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 2d536f23110..a09575bad50 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -1034,6 +1034,7 @@ void OS_X11::close_joystick(int p_id) { }; void OS_X11::probe_joystick(int p_id) { + #ifndef __FreeBSD__ if (p_id == -1) { for (int i=0; i