diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-01-09 10:50:58 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-01-09 11:02:05 +0000 |
commit | 0a4c4f3e52762a953e20419f1fef1f2f62c9873b (patch) | |
tree | 079ec47dfb3312385d3c65033056631031665d54 /sway/config.c | |
parent | Merge pull request #3386 from RedSoxFan/seat-reload-wait (diff) | |
download | sway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.tar.gz sway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.tar.zst sway-0a4c4f3e52762a953e20419f1fef1f2f62c9873b.zip |
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 <linux/input.h>
^~~~~~~~~~~~~~~
../swaybar/i3bar.c:3:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/config.c b/sway/config.c index dfbe4cb9..f99f043c 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -13,11 +13,7 @@ | |||
13 | #include <limits.h> | 13 | #include <limits.h> |
14 | #include <dirent.h> | 14 | #include <dirent.h> |
15 | #include <strings.h> | 15 | #include <strings.h> |
16 | #ifdef __linux__ | ||
17 | #include <linux/input-event-codes.h> | 16 | #include <linux/input-event-codes.h> |
18 | #elif __FreeBSD__ | ||
19 | #include <dev/evdev/input-event-codes.h> | ||
20 | #endif | ||
21 | #include <wlr/types/wlr_output.h> | 17 | #include <wlr/types/wlr_output.h> |
22 | #include "sway/input/input-manager.h" | 18 | #include "sway/input/input-manager.h" |
23 | #include "sway/input/seat.h" | 19 | #include "sway/input/seat.h" |