summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-10-07 20:05:57 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2014-10-07 20:42:27 -0700
commita74acf0ec2610484f3deb37980b126174538a459 (patch)
treeb5ec68096cc8f0b829151346d14822343b4e146f
parent3044cfb7bfa3fa83b755be4873b702f978a457e2 (diff)
downloadmutter-a74acf0ec2610484f3deb37980b126174538a459.tar.gz
wayland: Clean up more includes
-rw-r--r--src/wayland/meta-wayland.c21
-rw-r--r--src/wayland/meta-wayland.h2
2 files changed, 5 insertions, 18 deletions
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 6336cecf2..1bb837197 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -19,40 +19,25 @@
* 02111-1307, USA.
*/
-#include <config.h>
+#include "config.h"
+
+#include "meta-wayland.h"
#include <clutter/clutter.h>
#include <clutter/wayland/clutter-wayland-compositor.h>
#include <clutter/wayland/clutter-wayland-surface.h>
-#include <glib.h>
#include <sys/time.h>
#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <stdlib.h>
-#include <sys/wait.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <wayland-server.h>
-#include <meta/meta-backend.h>
-
#include "meta-wayland-private.h"
#include "meta-xwayland-private.h"
-#include "meta-window-actor-private.h"
#include "meta-wayland-seat.h"
-#include "meta-wayland-keyboard.h"
-#include "meta-wayland-pointer.h"
#include "meta-wayland-outputs.h"
#include "meta-wayland-data-device.h"
-#include "meta-cursor-tracker-private.h"
-#include "display-private.h"
-#include "window-private.h"
-#include <meta/types.h>
-#include <meta/main.h>
-#include "frame.h"
static MetaWaylandCompositor _meta_wayland_compositor;
diff --git a/src/wayland/meta-wayland.h b/src/wayland/meta-wayland.h
index 4610da266..09701a605 100644
--- a/src/wayland/meta-wayland.h
+++ b/src/wayland/meta-wayland.h
@@ -23,6 +23,8 @@
#ifndef META_WAYLAND_H
#define META_WAYLAND_H
+#include <clutter/clutter.h>
+#include <meta/types.h>
#include "meta-wayland-types.h"
void meta_wayland_pre_clutter_init (void);