diff --git a/src/core/controller.cpp b/src/core/controller.cpp index 9ca21c41..93199643 100644 --- a/src/core/controller.cpp +++ b/src/core/controller.cpp @@ -16,7 +16,11 @@ // along with Flameshot. If not, see . #include "controller.h" + +#if defined(Q_OS_MACOS) #include "external/QHotkey/QHotkey" +#endif + #include "src/config/configwindow.h" #include "src/core/qguiappcurrentscreen.h" #include "src/utils/confighandler.h"