aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Jan Beich <jbeich@FreeBSD.org>2019-01-09 10:50:58 +0000
committerLibravatar Jan Beich <jbeich@FreeBSD.org>2019-01-09 11:02:05 +0000
commit0a4c4f3e52762a953e20419f1fef1f2f62c9873b (patch)
tree079ec47dfb3312385d3c65033056631031665d54 /sway/input/seat.c
parentMerge pull request #3386 from RedSoxFan/seat-reload-wait (diff)
downloadsway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.tar.gz
sway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.tar.zst
sway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.zip
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/input/seat.c')
-rw-r--r--sway/input/seat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 41a3a4df..a8df5b99 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1,11 +1,7 @@
1#define _POSIX_C_SOURCE 200809L 1#define _POSIX_C_SOURCE 200809L
2#include <assert.h> 2#include <assert.h>
3#include <errno.h> 3#include <errno.h>
4#ifdef __linux__
5#include <linux/input-event-codes.h> 4#include <linux/input-event-codes.h>
6#elif __FreeBSD__
7#include <dev/evdev/input-event-codes.h>
8#endif
9#include <strings.h> 5#include <strings.h>
10#include <time.h> 6#include <time.h>
11#include <wlr/types/wlr_cursor.h> 7#include <wlr/types/wlr_cursor.h>