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ć <firstname.lastname@example.org>
Cc: Emmanuel Gil Peyrot <email@example.com>
Cc: Pekka Paalanen <firstname.lastname@example.org>
Fixes: 6a5504de ("Update Khronos-supplied headers to r33100")
Cc: Dave Airlie <email@example.com>
Signed-off-by: Emil Velikov <firstname.lastname@example.org>
Reviewed-by: Daniel Stone <email@example.com>
Reviewed-by: Ilia Mirkin <firstname.lastname@example.org>