headers: fix compilation error on android with vk_icd.h

Change allow us to refer to ANativeWindow from C code, fixes following
compilation error seen with clang 3.8.27580 (Android O prebuilts).

vk_icd.h:116:5: error: must use 'struct' tag to refer to type 'ANativeWindow'

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
Tapani Pälli 2018-05-16 10:44:04 +03:00 committed by Mark Lobodzinski
parent a49d2cde4d
commit eb0c1fd44c

View file

@ -138,7 +138,7 @@ typedef struct {
#ifdef VK_USE_PLATFORM_ANDROID_KHR
typedef struct {
VkIcdSurfaceBase base;
ANativeWindow *window;
struct ANativeWindow *window;
} VkIcdSurfaceAndroid;
#endif // VK_USE_PLATFORM_ANDROID_KHR