build: Fix building without wayland headers

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3046
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3471>
This commit is contained in:
Mart Raudsepp
2023-12-25 14:51:46 +02:00
committed by Marge Bot
parent cb794329e7
commit d7db784b54
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@
#include "backends/x11/nested/meta-cursor-renderer-x11-nested.h"
#include "backends/x11/nested/meta-renderer-x11-nested.h"
#ifdef HAVE_WAYLAND
#include "wayland/meta-wayland.h"
#endif
typedef struct _MetaBackendX11NestedPrivate
{