aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-09 10:50:58 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-09 11:02:05 +0000
commit0a4c4f3e52762a953e20419f1fef1f2f62c9873b (patch)
tree079ec47dfb3312385d3c65033056631031665d54 /sway/commands/bind.c
parentd06782c5e71fb1a6229c1add16bae0dbf919c5c1 (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/bind.c')
-rw-r--r--sway/commands/bind.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 7994ab2f..4fceaf8c 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -1,10 +1,6 @@
#define _POSIX_C_SOURCE 200809L
#include <libevdev/libevdev.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <xkbcommon/xkbcommon.h>
#include <xkbcommon/xkbcommon-names.h>
#include <string.h>