compositor: move libudev.h to evdev.h
Compositor core does not do anything with udev, so the header is not needed there. Move the #include into evdev.h, from where it gets used by compositor-drm.c, too. Also fix the fallout: tty.c: In function 'tty_create': tty.c:143:2: warning: implicit declaration of function 'fstat' Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
#ifndef _WAYLAND_SYSTEM_COMPOSITOR_H_
|
#ifndef _WAYLAND_SYSTEM_COMPOSITOR_H_
|
||||||
#define _WAYLAND_SYSTEM_COMPOSITOR_H_
|
#define _WAYLAND_SYSTEM_COMPOSITOR_H_
|
||||||
|
|
||||||
#include <libudev.h>
|
|
||||||
#include <pixman.h>
|
#include <pixman.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <libudev.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
evdev_add_devices(struct udev *udev, struct weston_input_device
|
evdev_add_devices(struct udev *udev, struct weston_input_device
|
||||||
*input_base);
|
*input_base);
|
||||||
|
|||||||
Reference in New Issue
Block a user