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

View File

@ -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:

View File

@ -28,6 +28,8 @@
extern "C" {
#endif
#include "config.h"
#include <pixman.h>
#include <xkbcommon/xkbcommon.h>

View File

@ -20,6 +20,8 @@
* OF THIS SOFTWARE.
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -23,6 +23,8 @@
#ifndef EVDEV_H
#define EVDEV_H
#include "config.h"
#include <linux/input.h>
#include <wayland-util.h>

View File

@ -23,6 +23,8 @@
#ifndef _FILTER_H_
#define _FILTER_H_
#include "config.h"
#include <wayland-util.h>
#include "compositor.h"

View File

@ -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>

View File

@ -23,6 +23,8 @@
#ifndef _WESTON_LAUNCHER_UTIL_H_
#define _WESTON_LAUNCHER_UTIL_H_
#include "config.h"
#include "compositor.h"
int

View File

@ -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);

View File

@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "config.h"
#include "compositor.h"
WL_EXPORT void

View File

@ -23,6 +23,8 @@
#ifndef _UDEV_SEAT_H_
#define _UDEV_SEAT_H_
#include "config.h"
#include <libudev.h>
#include "compositor.h"