summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2013-08-15 01:10:24 +0100
committerKristian Høgsberg <krh@bitplanet.net>2013-08-20 16:11:09 -0700
commit55dada280cf18792cd7950c6f93602e80e2a0d77 (patch)
treeefb573135084359d93aa3903ce03199838f8cc0b
parent643f9bdfe0832b983b377b1e3cb5ef64e15f619a (diff)
downloadweston-55dada280cf18792cd7950c6f93602e80e2a0d77.tar.gz
weston-55dada280cf18792cd7950c6f93602e80e2a0d77.tar.bz2
weston-55dada280cf18792cd7950c6f93602e80e2a0d77.zip
Add more missing config.h includes
config.h includes were missing in a few files, including input.c, the lack of which caused the X11 backend to segfault instantly due to not having an xkbcommon context. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--src/cms-helper.h2
-rw-r--r--src/compositor.h2
-rw-r--r--src/data-device.c2
-rw-r--r--src/evdev.h2
-rw-r--r--src/filter.h2
-rw-r--r--src/input.c2
-rw-r--r--src/launcher-util.h2
-rw-r--r--src/pixman-renderer.h4
-rw-r--r--src/spring-tool.c2
-rw-r--r--src/udev-seat.h2
10 files changed, 21 insertions, 1 deletions
diff --git a/src/cms-helper.h b/src/cms-helper.h
index a919a42a..6e5594df 100644
--- a/src/cms-helper.h
+++ b/src/cms-helper.h
@@ -23,6 +23,8 @@
#ifndef _WESTON_CMS_H_
#define _WESTON_CMS_H_
+#include "config.h"
+
#include "compositor.h"
/* General overview on how to be a CMS plugin:
diff --git a/src/compositor.h b/src/compositor.h
index 3437aeac..3eaac428 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -28,6 +28,8 @@
extern "C" {
#endif
+#include "config.h"
+
#include <pixman.h>
#include <xkbcommon/xkbcommon.h>
#include <wayland-server.h>
diff --git a/src/data-device.c b/src/data-device.c
index edf76b12..6a040862 100644
--- a/src/data-device.c
+++ b/src/data-device.c
@@ -20,6 +20,8 @@
* OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/src/evdev.h b/src/evdev.h
index eb5c8682..524fa229 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -23,6 +23,8 @@
#ifndef EVDEV_H
#define EVDEV_H
+#include "config.h"
+
#include <linux/input.h>
#include <wayland-util.h>
diff --git a/src/filter.h b/src/filter.h
index ff8e579f..850ce8df 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -23,6 +23,8 @@
#ifndef _FILTER_H_
#define _FILTER_H_
+#include "config.h"
+
#include <wayland-util.h>
#include "compositor.h"
diff --git a/src/input.c b/src/input.c
index c08c9040..85b772fd 100644
--- a/src/input.c
+++ b/src/input.c
@@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/launcher-util.h b/src/launcher-util.h
index da110287..c79b47c9 100644
--- a/src/launcher-util.h
+++ b/src/launcher-util.h
@@ -23,6 +23,8 @@
#ifndef _WESTON_LAUNCHER_UTIL_H_
#define _WESTON_LAUNCHER_UTIL_H_
+#include "config.h"
+
#include "compositor.h"
int
diff --git a/src/pixman-renderer.h b/src/pixman-renderer.h
index 77761ba1..2532299e 100644
--- a/src/pixman-renderer.h
+++ b/src/pixman-renderer.h
@@ -20,7 +20,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "compositor.h"
+#include "config.h"
+
+#include "compositor.h"
int
pixman_renderer_init(struct weston_compositor *ec);
diff --git a/src/spring-tool.c b/src/spring-tool.c
index ba014776..935acc4b 100644
--- a/src/spring-tool.c
+++ b/src/spring-tool.c
@@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include "compositor.h"
WL_EXPORT void
diff --git a/src/udev-seat.h b/src/udev-seat.h
index 3543e7c3..5bf7caad 100644
--- a/src/udev-seat.h
+++ b/src/udev-seat.h
@@ -23,6 +23,8 @@
#ifndef _UDEV_SEAT_H_
#define _UDEV_SEAT_H_
+#include "config.h"
+
#include <libudev.h>
#include "compositor.h"