mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00: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-cursor-renderer-x11-nested.h"
|
||||||
#include "backends/x11/nested/meta-renderer-x11-nested.h"
|
#include "backends/x11/nested/meta-renderer-x11-nested.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_WAYLAND
|
||||||
#include "wayland/meta-wayland.h"
|
#include "wayland/meta-wayland.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _MetaBackendX11NestedPrivate
|
typedef struct _MetaBackendX11NestedPrivate
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
#include "backends/meta-virtual-monitor.h"
|
#include "backends/meta-virtual-monitor.h"
|
||||||
#include "backends/x11/cm/meta-backend-x11-cm.h"
|
#include "backends/x11/cm/meta-backend-x11-cm.h"
|
||||||
#include "meta/meta-backend.h"
|
#include "meta/meta-backend.h"
|
||||||
#include "wayland/meta-wayland.h"
|
|
||||||
#include "x11/session.h"
|
#include "x11/session.h"
|
||||||
|
|
||||||
#ifdef HAVE_NATIVE_BACKEND
|
#ifdef HAVE_NATIVE_BACKEND
|
||||||
@ -42,6 +41,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
#include "backends/x11/nested/meta-backend-x11-nested.h"
|
#include "backends/x11/nested/meta-backend-x11-nested.h"
|
||||||
|
#include "wayland/meta-wayland.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _MetaContextMainOptions
|
typedef struct _MetaContextMainOptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user