wayland: Fix some missing includes
authorNeil Roberts <neil@linux.intel.com>
Fri, 9 Mar 2012 18:24:14 +0000 (18:24 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 20 Mar 2012 14:36:58 +0000 (14:36 +0000)
The commit 90e5088 added some extra compiler warning options that were
triggering warnings when enabling the wayland build due to missing
header includes. This adds those header includes in.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/clutter-backend.c
clutter/evdev/clutter-device-manager-evdev.c
clutter/wayland/clutter-event-wayland.c
clutter/wayland/clutter-input-device-wayland.c
clutter/wayland/clutter-stage-wayland.c

index 0bfe4e3..8ce7c0e 100644 (file)
 #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 <cogl/cogl.h>
 
 #ifdef CLUTTER_INPUT_X11
index 8b6f6f4..d3eb8e2 100644 (file)
@@ -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"
 
index 6067b21..7e5e8f9 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "../clutter-event.h"
 #include "../clutter-main.h"
+#include "clutter-event-wayland.h"
 
 typedef struct _ClutterEventSourceWayland
 {
index f0d822c..c15d5a7 100644 (file)
@@ -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"
 
index 9cd83d6..daa78c4 100644 (file)
@@ -36,6 +36,7 @@
 #include "clutter-stage-window.h"
 #include "clutter-stage-private.h"
 #include "clutter-event-private.h"
+#include "clutter-wayland.h"
 #include <cogl/cogl.h>
 #include <cogl/cogl-wayland-client.h>