Skip to content

Include <glib.h> outside of the extern block

Heiko Becker requested to merge work/glib-2_68 into 3.2

This fixes the build with glib >= 2.68. It's caused by [1] and glib upstream did not want to include a workaround because the fixes downstream seem trivial [2][3].

[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715 [2] https://gitlab.gnome.org/GNOME/glib/-/issues/2331 [3] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1935

Merge request reports