From 0a4c4f3e52762a953e20419f1fef1f2f62c9873b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 9 Jan 2019 10:50:58 +0000 Subject: 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 ^~~~~~~~~~~~~~~ ../swaybar/i3bar.c:3:10: fatal error: 'linux/input-event-codes.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- sway/commands/bind.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sway/commands/bind.c') 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 -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include -- cgit v1.2.3-54-g00ecf