[Mesa-dev] [PATCH mesa] khronos/egl: remove dependency on Android NDK header

Eric Engestrom eric.engestrom at imgtec.com
Thu Aug 24 12:49:44 UTC 2017


Khronos: https://github.com/KhronosGroup/EGL-Registry/pull/22
Cc: Rob Herring <robh at kernel.org>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 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 f045d009c0..bf9ec0bf5f 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -97,8 +97,7 @@ typedef void               *EGLNativeWindowType;
 
 #elif defined(__ANDROID__) || defined(ANDROID)
 
-#include <android/native_window.h>
-
+struct ANativeWindow;
 struct egl_native_pixmap_t;
 
 typedef struct ANativeWindow*           EGLNativeWindowType;
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list