diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-09 10:50:58 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-01-09 11:02:05 +0000 |
commit | 0a4c4f3e52762a953e20419f1fef1f2f62c9873b (patch) | |
tree | 079ec47dfb3312385d3c65033056631031665d54 /sway/commands/seat/cursor.c | |
parent | d06782c5e71fb1a6229c1add16bae0dbf919c5c1 (diff) |
Simplify evdev includes on FreeBSD by relying on up-to-date package
evdev-proto is installed by a dependency, so some files have been missed:
In file included from ../sway/input/cursor.c:3:
/usr/local/include/libevdev-1.0/libevdev/libevdev.h:30:10: fatal error: 'linux/input.h' file not found
#include <linux/input.h>
^~~~~~~~~~~~~~~
../swaybar/i3bar.c:3:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'sway/commands/seat/cursor.c')
-rw-r--r-- | sway/commands/seat/cursor.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c index b4728543..1fbc68a1 100644 --- a/sway/commands/seat/cursor.c +++ b/sway/commands/seat/cursor.c @@ -1,9 +1,5 @@ #define _POSIX_C_SOURCE 200809L -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <strings.h> #include <wlr/types/wlr_cursor.h> |