set c_std to C11 due to unnamed union in drm_mode.h
In the drm_mode.h
header there is this unnamed union:
/**
* @hdmi_metadata_type1: HDR Metadata Infoframe.
*/
union {
struct hdr_metadata_infoframe hdmi_metadata_type1;
};
Unnamed structs/union are a C11 feature, but in meson.build c_std
is set to C99. Since this is only a header there are no "real" consequences, but when including libdrm as a subproject (for example from Meson's wrapdb), this can cause the compilation to break when compiled with Werror like in libliftoff.