mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
cb794329e7
commit
d7db784b54
@ -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
|
||||
{
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "backends/meta-virtual-monitor.h"
|
||||
#include "backends/x11/cm/meta-backend-x11-cm.h"
|
||||
#include "meta/meta-backend.h"
|
||||
#include "wayland/meta-wayland.h"
|
||||
#include "x11/session.h"
|
||||
|
||||
#ifdef HAVE_NATIVE_BACKEND
|
||||
@ -42,6 +41,7 @@
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
#include "backends/x11/nested/meta-backend-x11-nested.h"
|
||||
#include "wayland/meta-wayland.h"
|
||||
#endif
|
||||
|
||||
typedef struct _MetaContextMainOptions
|
||||
|
Loading…
Reference in New Issue
Block a user