From c28389d199466b354f59cde9520cc5e2c9df1d1f Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Fri, 30 Mar 2012 15:20:23 +0300 Subject: [PATCH] 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 --- src/evdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/evdev.h b/src/evdev.h index 4e29814..b05c855 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -20,6 +20,8 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + void evdev_add_devices(struct udev *udev, struct weston_input_device *input_base); -- 2.7.4