Commit 7f28853b89cb675526bcb3033c11dcc4ae23beca

Sam Lantinga 2016-09-14T08:20:24

Fixed including OpenGL ES on iOS without any other SDL headers

diff --git a/include/SDL_opengles.h b/include/SDL_opengles.h
index bcc1277..15abee7 100644
--- a/include/SDL_opengles.h
+++ b/include/SDL_opengles.h
@@ -24,6 +24,7 @@
  *
  *  This is a simple file to encapsulate the OpenGL ES 1.X API headers.
  */
+#include "SDL_config.h"
 
 #ifdef __IPHONEOS__
 #include <OpenGLES/ES1/gl.h>
diff --git a/include/SDL_opengles2.h b/include/SDL_opengles2.h
index edcd1a2..c961f0f 100644
--- a/include/SDL_opengles2.h
+++ b/include/SDL_opengles2.h
@@ -24,6 +24,8 @@
  *
  *  This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
  */
+#include "SDL_config.h"
+
 #ifndef _MSC_VER
 
 #ifdef __IPHONEOS__