From 9749a071304d98b32fec5ef79bfa5e46b6fad9ec Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Sat, 30 Nov 2024 14:36:20 -0500 Subject: [PATCH] Fix compile on FreeBSD with spnav If spnav is installed on a FreeBSD system, it will be detected, but the build will fail. With this change, it both builds successfully and works on FreeBSD. --- src/Gui/GuiApplicationNativeEventAware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/GuiApplicationNativeEventAware.cpp b/src/Gui/GuiApplicationNativeEventAware.cpp index ba41901472..2383e93a20 100644 --- a/src/Gui/GuiApplicationNativeEventAware.cpp +++ b/src/Gui/GuiApplicationNativeEventAware.cpp @@ -33,7 +33,7 @@ #if defined(_USE_3DCONNEXION_SDK) || defined(SPNAV_FOUND) -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) #if defined(SPNAV_USE_X11) #include "3Dconnexion/GuiNativeEventLinuxX11.h" #else