If including hal and egl headers to same c file compilation files
because ANativeWindow type is defined in two headers. In HC egl didn't
include system/core/include/system/window.h which hid the type conflict.
Change-Id: Icaf7b29f913f3d7fa8f6d70bb196585d22e7d05c
Original-Change-Id: Icd37329d80fb4e8b9baf9015c9b00e43ebc4f76b
Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
#include <android/rect.h>
+#include <system/window.h>
+
#ifdef __cplusplus
extern "C" {
#endif
WINDOW_FORMAT_RGB_565 = 4,
};
-struct ANativeWindow;
-typedef struct ANativeWindow ANativeWindow;
-
typedef struct ANativeWindow_Buffer {
// The number of pixels that are show horizontally.
int32_t width;