[mutter] launcher: Fix up includes
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] launcher: Fix up includes
- Date: Tue, 22 Apr 2014 21:50:09 +0000 (UTC)
commit 0d9fa24be4a35ab484ae8ccb7091803787d73fe2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Apr 22 17:06:36 2014 -0400
launcher: Fix up includes
src/backends/native/meta-launcher.c | 18 +++++-------------
src/backends/native/meta-launcher.h | 1 -
2 files changed, 5 insertions(+), 14 deletions(-)
---
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
index 3a34115..6e9c92a 100644
--- a/src/backends/native/meta-launcher.c
+++ b/src/backends/native/meta-launcher.c
@@ -17,35 +17,27 @@
* 02111-1307, USA.
*/
-#include <config.h>
+#include "config.h"
+
+#include "meta-launcher.h"
+#include "weston-launch.h"
-#include <gio/gio.h>
#include <gio/gunixfdmessage.h>
#include <clutter/clutter.h>
#include <clutter/egl/clutter-egl.h>
#include <clutter/evdev/clutter-evdev.h>
-#include <glib.h>
-#include <sys/time.h>
-#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#include <sys/socket.h>
-#include <sys/un.h>
#include <stdlib.h>
-#include <sys/wait.h>
-
-#include <drm.h>
-#include <xf86drm.h>
-#include <xf86drmMode.h>
+#include <string.h>
#include "wayland/meta-wayland-private.h"
#include "backends/meta-backend.h"
#include "meta-cursor-renderer-native.h"
-#include "meta-launcher.h"
struct _MetaLauncher
{
diff --git a/src/backends/native/meta-launcher.h b/src/backends/native/meta-launcher.h
index e25a37c..fbea59a 100644
--- a/src/backends/native/meta-launcher.h
+++ b/src/backends/native/meta-launcher.h
@@ -21,7 +21,6 @@
#define META_LAUNCHER_H
#include <glib-object.h>
-#include "weston-launch.h"
typedef struct _MetaLauncher MetaLauncher;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]