diff --git a/include/SDL_egl.h b/include/SDL_egl.h index e47fbe862..172c16215 100644 --- a/include/SDL_egl.h +++ b/include/SDL_egl.h @@ -24,7 +24,7 @@ * * This is a simple file to encapsulate the EGL API headers. */ -#ifndef _MSC_VER +#if !defined(_MSC_VER) && !defined(__ANDROID__) #include #include diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index 02afdf1cc..f77534ce4 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -29,7 +29,6 @@ #include "SDL_system.h" #include "SDL_android.h" -#include #include "keyinfotable.h"