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>
dev
Daniel Stone 11 years ago committed by Kristian Høgsberg
parent 69594ccf9c
commit 8e7a8bdeea
  1. 2
      src/cms-helper.h
  2. 2
      src/compositor.h
  3. 2
      src/data-device.c
  4. 2
      src/evdev.h
  5. 2
      src/filter.h
  6. 2
      src/input.c
  7. 2
      src/launcher-util.h
  8. 4
      src/pixman-renderer.h
  9. 2
      src/spring-tool.c
  10. 2
      src/udev-seat.h

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save