Revert "egl/android: add missing include"
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 25 Aug 2017 13:03:48 +0000 (14:03 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Fri, 25 Aug 2017 13:03:48 +0000 (14:03 +0100)
This reverts commit 688d866eca8943f09cd846ffb045e18f6ec0677c.

The include I added in 688d866eca isn't actually useful, as it only
declares the opaque struct ANativeWindow.
However, this caused build issues for android-x86 [1] due to the header
being moved in Android O.

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-August/167626.html

Fixes: 688d866eca8943f09cd8 "egl/android: add missing include"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/platform_android.c

index 36fc5833b4ea4248d582516f1075ca8a03feb6ae..a864a2af3d799be6ba61d060026f5200986d6386 100644 (file)
@@ -27,7 +27,6 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#include <android/native_window.h>
 #include <errno.h>
 #include <dlfcn.h>
 #include <fcntl.h>