From ba5df0d21d5838ce4fe616c2e20719ccc8a4315c Mon Sep 17 00:00:00 2001 From: sghctoma Date: Fri, 7 Sep 2018 17:44:48 +0200 Subject: [PATCH] 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. --- backend/session/direct-ipc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c index 302b639ee..3abce46a1 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 +#endif #include #include #include