diff --git a/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp index b92977b08..59a164f93 100644 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceWayland.cpp @@ -32,8 +32,12 @@ #if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ #include #include +#ifdef __FreeBSD__ +#include +#else #include #endif +#endif #include "CColorConverter.h" #include "CContextEGL.h"