A earlier sync with the Khronos headers added _extension_ prototype
guards to all the GLES2/3/31/32 core entry points. Effectively breaking
all the applications that aim to be portable and do not set the define.
The issue has been reported to Khronos (internal bugzilla #14206) and is
being worked on. Until updated/fixed headers are released locally fix
The following report is when building weston.
Cc: Armin Krezović <email@example.com>
Cc: Emmanuel Gil Peyrot <firstname.lastname@example.org>
Cc: Pekka Paalanen <email@example.com>
Fixes: 6a5504de ("Update Khronos-supplied headers to r33100")
Cc: Dave Airlie <firstname.lastname@example.org>
Signed-off-by: Emil Velikov <email@example.com>
Reviewed-by: Daniel Stone <firstname.lastname@example.org>
Reviewed-by: Ilia Mirkin <email@example.com>