build: Add missing include

util-private.h includes glib-i18n-lib.h, which requires GETTEXT_PACKAGE
to be defined. The define comes from config.h,
but that cannot be included in headers, so we have to make sure
that any source file that pulls in util-private.h (or a header
that includes it) includes config.h first.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2566>
This commit is contained in:
Florian Müllner 2022-08-10 20:13:24 +02:00
parent 2e76280df1
commit 811f280817

View File

@ -1,4 +1,5 @@
/*** BEGIN file-header ***/
#include "config.h"
#include "meta-private-enum-types.h"
/*** END file-header ***/