[mutter] build: Add missing include



commit 811f280817bfcf2901ea54b742ede8af0db05b7c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 10 20:13:24 2022 +0200

    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>

 src/meta-private-enum-types.c.in | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/meta-private-enum-types.c.in b/src/meta-private-enum-types.c.in
index c2479a91a3..55cd855ca9 100644
--- a/src/meta-private-enum-types.c.in
+++ b/src/meta-private-enum-types.c.in
@@ -1,4 +1,5 @@
 /*** BEGIN file-header ***/
+#include "config.h"
 #include "meta-private-enum-types.h"
 /*** END file-header ***/
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]