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>
This commit is contained in:
Daniel Stone
2013-08-15 01:10:24 +01:00
committed by Kristian Høgsberg
parent 69594ccf9c
commit 8e7a8bdeea
10 changed files with 21 additions and 1 deletions
+2
View File
@@ -23,6 +23,8 @@
#ifndef _WESTON_CMS_H_ #ifndef _WESTON_CMS_H_
#define _WESTON_CMS_H_ #define _WESTON_CMS_H_
#include "config.h"
#include "compositor.h" #include "compositor.h"
/* General overview on how to be a CMS plugin: /* General overview on how to be a CMS plugin:
+2
View File
@@ -28,6 +28,8 @@
extern "C" { extern "C" {
#endif #endif
#include "config.h"
#include <pixman.h> #include <pixman.h>
#include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon.h>
+2
View File
@@ -20,6 +20,8 @@
* OF THIS SOFTWARE. * OF THIS SOFTWARE.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
+2
View File
@@ -23,6 +23,8 @@
#ifndef EVDEV_H #ifndef EVDEV_H
#define EVDEV_H #define EVDEV_H
#include "config.h"
#include <linux/input.h> #include <linux/input.h>
#include <wayland-util.h> #include <wayland-util.h>
+2
View File
@@ -23,6 +23,8 @@
#ifndef _FILTER_H_ #ifndef _FILTER_H_
#define _FILTER_H_ #define _FILTER_H_
#include "config.h"
#include <wayland-util.h> #include <wayland-util.h>
#include "compositor.h" #include "compositor.h"
+2
View File
@@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
+2
View File
@@ -23,6 +23,8 @@
#ifndef _WESTON_LAUNCHER_UTIL_H_ #ifndef _WESTON_LAUNCHER_UTIL_H_
#define _WESTON_LAUNCHER_UTIL_H_ #define _WESTON_LAUNCHER_UTIL_H_
#include "config.h"
#include "compositor.h" #include "compositor.h"
int int
+3 -1
View File
@@ -20,7 +20,9 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "compositor.h" #include "config.h"
#include "compositor.h"
int int
pixman_renderer_init(struct weston_compositor *ec); pixman_renderer_init(struct weston_compositor *ec);
+2
View File
@@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "config.h"
#include "compositor.h" #include "compositor.h"
WL_EXPORT void WL_EXPORT void
+2
View File
@@ -23,6 +23,8 @@
#ifndef _UDEV_SEAT_H_ #ifndef _UDEV_SEAT_H_
#define _UDEV_SEAT_H_ #define _UDEV_SEAT_H_
#include "config.h"
#include <libudev.h> #include <libudev.h>
#include "compositor.h" #include "compositor.h"