Commit 35e564a69437082ec9be942835e13147e18f0766

Ryan C. Gordon 2016-08-26T15:46:29

ios: patched to compile.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/iphoneos/SDL_sysjoystick.m b/src/joystick/iphoneos/SDL_sysjoystick.m
index efac5c4..b7b3395 100644
--- a/src/joystick/iphoneos/SDL_sysjoystick.m
+++ b/src/joystick/iphoneos/SDL_sysjoystick.m
@@ -26,6 +26,7 @@
 /* needed for SDL_IPHONE_MAX_GFORCE macro */
 #include "SDL_config_iphoneos.h"
 
+#include "SDL_events.h"
 #include "SDL_joystick.h"
 #include "SDL_hints.h"
 #include "SDL_stdinc.h"