From 1dbf37239f73c8aadf364dc1d716500fa3336342 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Wed, 28 Jun 2023 14:43:34 +0800 Subject: [PATCH] meta: Don't #include in public headers It's not required to define `struct wl_display` and having it in a public header is breaking the g-ir-scanner because Wayland headers use the non-standard keyword `__typeof__`. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2875 Part-of: --- src/meta/meta-wayland-compositor.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meta/meta-wayland-compositor.h b/src/meta/meta-wayland-compositor.h index c5acf51bf..2a6fe652d 100644 --- a/src/meta/meta-wayland-compositor.h +++ b/src/meta/meta-wayland-compositor.h @@ -22,7 +22,6 @@ #include #include -#include #include "meta/meta-context.h"