Commit 998a54f9c593ef590ef3cdb30bca4ebccfc2ec60

Alex Szpakowski 2015-11-14T04:24:39

Mac: Fix a warning about implicit declaration of SDL_SendKeymapChangedEvent (bug #3167.)

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/cocoa/SDL_cocoakeyboard.m b/src/video/cocoa/SDL_cocoakeyboard.m
index 9abca97..3943187 100644
--- a/src/video/cocoa/SDL_cocoakeyboard.m
+++ b/src/video/cocoa/SDL_cocoakeyboard.m
@@ -24,6 +24,7 @@
 
 #include "SDL_cocoavideo.h"
 
+#include "../../events/SDL_events_c.h"
 #include "../../events/SDL_keyboard_c.h"
 #include "../../events/scancodes_darwin.h"