Fix build with kernel < 4.4

weston includes input-event-codes.h since version 5.0.91 and
6e229ca263

input-event-codes.h is available only since kernel 4.4 and
f902dd8934

To fix this build failure, replace include on linux/input-event-codes.h
by linux/input.h

Fixes:
 - http://autobuild.buildroot.org/results/210c2759900f15ea0030d088f6f45cd8bb199b29

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
dev
Fabrice Fontaine 6 years ago
parent 21a1f40760
commit 137b811ecd
  1. 2
      compositor/main.c

@ -42,7 +42,7 @@
#include <sys/socket.h>
#include <libinput.h>
#include <libevdev/libevdev.h>
#include <linux/input-event-codes.h>
#include <linux/input.h>
#include <sys/time.h>
#include <linux/limits.h>

Loading…
Cancel
Save