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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- swaybar/input.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'swaybar/input.c') diff --git a/swaybar/input.c b/swaybar/input.c index 7d219be3..620da977 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -1,9 +1,5 @@ #include -#ifdef __FreeBSD__ -#include -#else #include -#endif #include #include #include -- cgit v1.2.3