aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/session/direct-freebsd.c2
-rw-r--r--backend/session/direct-ipc.c2
-rw-r--r--backend/x11/input_device.c4
-rw-r--r--examples/idle-inhibit.c4
-rw-r--r--examples/layer-shell.c4
-rw-r--r--rootston/cursor.c4
6 files changed, 2 insertions, 18 deletions
diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c
index 342d0d4e..391cc3fd 100644
--- a/backend/session/direct-freebsd.c
+++ b/backend/session/direct-freebsd.c
@@ -1,5 +1,5 @@
#include <assert.h>
-#include <dev/evdev/input.h>
+#include <linux/input.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c
index 2b9634da..42ca00e1 100644
--- a/backend/session/direct-ipc.c
+++ b/backend/session/direct-ipc.c
@@ -1,7 +1,7 @@
#define _POSIX_C_SOURCE 200809L
#ifdef __FreeBSD__
#define __BSD_VISIBLE 1
-#include <dev/evdev/input.h>
+#include <linux/input.h>
#endif
#include <errno.h>
#include <fcntl.h>
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index a50f478a..915d9958 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -2,11 +2,7 @@
#include <wlr/config.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <xcb/xcb.h>
#include <xcb/xfixes.h>
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c
index 48c812e8..348892ab 100644
--- a/examples/idle-inhibit.c
+++ b/examples/idle-inhibit.c
@@ -8,11 +8,7 @@
#include "idle-inhibit-unstable-v1-client-protocol.h"
#include "xdg-shell-client-protocol.h"
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
/**
* Usage: idle-inhibit
diff --git a/examples/layer-shell.c b/examples/layer-shell.c
index 77b2f6c3..59e2512d 100644
--- a/examples/layer-shell.c
+++ b/examples/layer-shell.c
@@ -1,9 +1,5 @@
#define _POSIX_C_SOURCE 200112L
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include <assert.h>
#include <GLES2/gl2.h>
#include <limits.h>
diff --git a/rootston/cursor.c b/rootston/cursor.c
index d2d3b510..b7ecc813 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -7,11 +7,7 @@
#include <wlr/util/edges.h>
#include <wlr/util/log.h>
#include <wlr/util/region.h>
-#ifdef __linux__
#include <linux/input-event-codes.h>
-#elif __FreeBSD__
-#include <dev/evdev/input-event-codes.h>
-#endif
#include "rootston/cursor.h"
#include "rootston/desktop.h"
#include "rootston/view.h"