aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-09-07 17:44:48 +0200
committersghctoma <sghctoma@gmail.com>2018-09-07 17:44:48 +0200
commitba5df0d21d5838ce4fe616c2e20719ccc8a4315c (patch)
tree4a088c407112c7660512a37cab1e16a712c39b66 /backend
parent7a5d3c4d3bf8c2f21fcec65182f1563f4c857408 (diff)
Fix build failure on non-FreeBSD systems
Accidentally included the FreeBSD-specific dev/evdev/input.h file on other systems too. This commit fixes that.
Diffstat (limited to 'backend')
-rw-r--r--backend/session/direct-ipc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c
index 302b639e..3abce46a 100644
--- a/backend/session/direct-ipc.c
+++ b/backend/session/direct-ipc.c
@@ -1,9 +1,8 @@
#define _POSIX_C_SOURCE 200809L
#ifdef __FreeBSD__
#define __BSD_VISIBLE 1
-#define INPUT_MAJOR 0
-#endif
#include <dev/evdev/input.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>