From 99cb565a849193630e9850672b6477944da7f8aa Mon Sep 17 00:00:00 2001 From: Nicolas Capens Date: Fri, 4 Aug 2017 09:18:52 -0400 Subject: [PATCH] Update eglplatform.h to match Android NDK. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This change has been part of the Android NDK since API 18, corresponding with Android 4.3 Jelly Bean MR2. Change-Id: I6df06f46c286ce89ea56913684e43d558917d1a8 Reviewed-on: https://swiftshader-review.googlesource.com/11269 Tested-by: Nicolas Capens Reviewed-by: Alexis Hétu Reviewed-by: Nicolas Capens --- include/EGL/eglplatform.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 128408928..a3b72344f 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -85,8 +85,7 @@ typedef void *EGLNativePixmapType; #elif defined(__ANDROID__) || defined(ANDROID) -#include - +struct ANativeWindow; struct egl_native_pixmap_t; typedef struct ANativeWindow* EGLNativeWindowType; -- 2.11.0