1 diff --git a/thirdparty/khronos/EGL/eglplatform.h b/thirdparty/khronos/EGL/eglplatform.h
2 index 6d34ab5..5f30ef1 100644
3 --- a/thirdparty/khronos/EGL/eglplatform.h
4 +++ b/thirdparty/khronos/EGL/eglplatform.h
5 @@ -83,6 +83,22 @@ typedef int EGLNativeDisplayType;
6 typedef void *EGLNativeWindowType;
7 typedef void *EGLNativePixmapType;
9 +#elif defined(__ANDROID__) || defined(ANDROID)
11 +#include <android/native_window.h>
13 +struct egl_native_pixmap_t;
15 +typedef struct ANativeWindow* EGLNativeWindowType;
16 +typedef struct egl_native_pixmap_t* EGLNativePixmapType;
17 +typedef void* EGLNativeDisplayType;
19 +#elif defined(__APPLE__)
21 +typedef void *EGLNativeDisplayType;
22 +typedef void *EGLNativePixmapType;
23 +typedef void *EGLNativeWindowType;
25 #elif defined(__unix__)