diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c index 0bfe4e349..8ce7c0ed9 100644 --- a/clutter/clutter-backend.c +++ b/clutter/clutter-backend.c @@ -55,6 +55,10 @@ #include "clutter-stage-window.h" #include "clutter-version.h" +#ifdef HAVE_CLUTTER_WAYLAND_COMPOSITOR +#include "wayland/clutter-wayland-compositor.h" +#endif /* HAVE_CLUTTER_WAYLAND_COMPOSITOR */ + #include #ifdef CLUTTER_INPUT_X11 diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index 8b6f6f498..d3eb8e20f 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -47,6 +47,7 @@ #include "clutter-stage-manager.h" #include "clutter-xkb-utils.h" #include "clutter-backend-private.h" +#include "clutter-evdev.h" #include "clutter-device-manager-evdev.h" diff --git a/clutter/wayland/clutter-event-wayland.c b/clutter/wayland/clutter-event-wayland.c index 6067b21d7..7e5e8f94a 100644 --- a/clutter/wayland/clutter-event-wayland.c +++ b/clutter/wayland/clutter-event-wayland.c @@ -34,6 +34,7 @@ #include "../clutter-event.h" #include "../clutter-main.h" +#include "clutter-event-wayland.h" typedef struct _ClutterEventSourceWayland { diff --git a/clutter/wayland/clutter-input-device-wayland.c b/clutter/wayland/clutter-input-device-wayland.c index f0d822cce..c15d5a7bc 100644 --- a/clutter/wayland/clutter-input-device-wayland.c +++ b/clutter/wayland/clutter-input-device-wayland.c @@ -41,6 +41,7 @@ #include "clutter-input-device-wayland.h" #include "clutter-backend-wayland.h" #include "clutter-stage-private.h" +#include "clutter-wayland.h" #include "cogl/clutter-stage-cogl.h" diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c index 9cd83d61e..daa78c4c3 100644 --- a/clutter/wayland/clutter-stage-wayland.c +++ b/clutter/wayland/clutter-stage-wayland.c @@ -36,6 +36,7 @@ #include "clutter-stage-window.h" #include "clutter-stage-private.h" #include "clutter-event-private.h" +#include "clutter-wayland.h" #include #include