From 455a6fa68da3052e21bf996c9184d383d5dff8db Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Sat, 9 Mar 2024 04:38:56 -0800 Subject: [PATCH] [macOS] Fix compile on macOS Error was: [ 93%] Building CXX object build/platform/osx/SDL/CMakeFiles/platform_osx_SDL.dir/OSXTextInputResponder.mm.o platform/darwin/osx/SDL/OSXTextInputResponder.mm:26:25: error: allocation of incomplete type 'CAction' CAction *action = new CAction(ACTION_INPUT_TEXT); ^~~~~~~ --- xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm b/xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm index 8ce8d7d6efc65..c549e4a9d47f8 100644 --- a/xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm +++ b/xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm @@ -11,6 +11,8 @@ #include "GUIUserMessages.h" #include "ServiceBroker.h" #include "guilib/GUIWindowManager.h" +#include "input/actions/Action.h" +#include "input/actions/ActionIDs.h" #include "input/keyboard/Key.h" #include "messaging/ApplicationMessenger.h" #include "utils/log.h"