diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-07 08:07:32 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-01-07 08:08:47 +0000 |
commit | f80d174e8b179f3af80f7990529c3b0440846dca (patch) | |
tree | af23a7f2f228388b161694135f661b758b379212 /backend/session | |
parent | e61ea7706b36435836f341bc371124902d5fb412 (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/session')
-rw-r--r-- | backend/session/direct-freebsd.c | 2 | ||||
-rw-r--r-- | backend/session/direct-ipc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c index 342d0d4e..391cc3fd 100644 --- a/backend/session/direct-freebsd.c +++ b/backend/session/direct-freebsd.c @@ -1,5 +1,5 @@ #include <assert.h> -#include <dev/evdev/input.h> +#include <linux/input.h> #include <errno.h> #include <fcntl.h> #include <signal.h> diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c index 2b9634da..42ca00e1 100644 --- a/backend/session/direct-ipc.c +++ b/backend/session/direct-ipc.c @@ -1,7 +1,7 @@ #define _POSIX_C_SOURCE 200809L #ifdef __FreeBSD__ #define __BSD_VISIBLE 1 -#include <dev/evdev/input.h> +#include <linux/input.h> #endif #include <errno.h> #include <fcntl.h> |