aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-07 08:07:32 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-07 08:08:47 +0000
commitf80d174e8b179f3af80f7990529c3b0440846dca (patch)
treeaf23a7f2f228388b161694135f661b758b379212 /backend/x11
parente61ea7706b36435836f341bc371124902d5fb412 (diff)
Simplify evdev includes on FreeBSD by relying on up-to-date package
As evdev-proto is installed by CI some files have been missed: ../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found #include <linux/input-event-codes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/input_device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index a50f478a..915d9958 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -2,11 +2,7 @@
#include <wlr/config.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <xcb/xcb.h>
#include <xcb/xfixes.h>