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 /swaybar/input.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 'swaybar/input.c')
-rw-r--r-- | swaybar/input.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/swaybar/input.c b/swaybar/input.c index 7d219be3..620da977 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -1,9 +1,5 @@ #include <assert.h> -#ifdef __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#else #include <linux/input-event-codes.h> -#endif #include <stdlib.h> #include <wayland-client.h> #include <wayland-cursor.h> |