This is conditional on WL_EGL_PLATFORM being #defined, so application must make sure to include wayland-egl.h before including any egl header.