Skip to content

Commit

Permalink
[macOS] Fix compile on macOS
Browse files Browse the repository at this point in the history
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);
                        ^~~~~~~
  • Loading branch information
garbear committed Mar 9, 2024
1 parent 313e83b commit 455a6fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/platform/darwin/osx/SDL/OSXTextInputResponder.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 455a6fa

Please sign in to comment.