aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c4
-rw-r--r--sway/input/seat.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 510030ae..96feb47d 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -1,11 +1,7 @@
#define _POSIX_C_SOURCE 200809L
#include <math.h>
#include <libevdev/libevdev.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <float.h>
#include <limits.h>
#include <wlr/types/wlr_cursor.h>
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 @@
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <errno.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <strings.h>
#include <time.h>
#include <wlr/types/wlr_cursor.h>