Commit f4b7cf6e8127c0eefbf34e1dd60838b8fdc4cc86

Philipp Wiesemann 2015-01-31T21:02:56

Fixed including SDL_config.h in implementation for Android. SDL_internal.h should be included to support dynamic API.

diff --git a/src/joystick/android/SDL_sysjoystick_c.h b/src/joystick/android/SDL_sysjoystick_c.h
index 3d56b0b..6ad6aa7 100644
--- a/src/joystick/android/SDL_sysjoystick_c.h
+++ b/src/joystick/android/SDL_sysjoystick_c.h
@@ -19,7 +19,7 @@
  3. This notice may not be removed or altered from any source distribution.
  */
 
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #ifdef SDL_JOYSTICK_ANDROID
 #include "../SDL_sysjoystick.h"
diff --git a/src/video/android/SDL_androidmessagebox.c b/src/video/android/SDL_androidmessagebox.c
index a55afb3..11f8569 100644
--- a/src/video/android/SDL_androidmessagebox.c
+++ b/src/video/android/SDL_androidmessagebox.c
@@ -18,7 +18,7 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#include "SDL_config.h"
+#include "../../SDL_internal.h"
 
 #if SDL_VIDEO_DRIVER_ANDROID