khronos/egl: remove dependency on Android NDK header
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 24 Aug 2017 12:31:09 +0000 (13:31 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Fri, 25 Aug 2017 13:19:53 +0000 (14:19 +0100)
Khronos: https://github.com/KhronosGroup/EGL-Registry/pull/22
Suggested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
include/EGL/eglplatform.h

index f045d009c03d53bbe6f125f276f36e14aa3f4536..bf9ec0bf5f4fbf7105cdf45c437f69d166329b24 100644 (file)
@@ -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;