diff options
author | emersion <contact@emersion.fr> | 2019-01-09 14:00:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 14:00:54 +0100 |
commit | f9cea7f09bb0307ab47505e6f7d7cb1f02f45783 (patch) | |
tree | 079ec47dfb3312385d3c65033056631031665d54 /sway/commands | |
parent | d06782c5e71fb1a6229c1add16bae0dbf919c5c1 (diff) | |
parent | 0a4c4f3e52762a953e20419f1fef1f2f62c9873b (diff) | |
download | sway-f9cea7f09bb0307ab47505e6f7d7cb1f02f45783.tar.xz |
Merge pull request #3391 from jbeich/freebsd
Simplify FreeBSD build
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/bind.c | 4 | ||||
-rw-r--r-- | sway/commands/seat/cursor.c | 4 |
2 files changed, 0 insertions, 8 deletions
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 <libevdev/libevdev.h> -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon-names.h> #include <string.h> diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c index b4728543..1fbc68a1 100644 --- a/sway/commands/seat/cursor.c +++ b/sway/commands/seat/cursor.c @@ -1,9 +1,5 @@ #define _POSIX_C_SOURCE 200809L -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <strings.h> #include <wlr/types/wlr_cursor.h> |