diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-15 09:30:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 09:30:27 -0400 |
commit | 67f9b7fe5bc2db01876953fd638fed307b5aa147 (patch) | |
tree | a10527340e6f24f997e5e10c3ba70a8e80b0a725 /swaybar | |
parent | ea0f1f3a7edf92537f74b70b520103bb38ff1411 (diff) | |
parent | 44e72573cbe541b8a719eec4bc22ea0856a039ef (diff) |
Merge pull request #1402 from johalun/event-codes-include-fix
Fix include path to input-event-codes.h for FreeBSD.
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/bar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index f8dc3a1f..f12923a8 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -7,7 +7,11 @@ #include <sys/wait.h> #include <signal.h> #include <poll.h> +#ifdef __FreeBSD__ +#include <dev/evdev/input-event-codes.h> +#else #include <linux/input-event-codes.h> +#endif #ifdef ENABLE_TRAY #include <dbus/dbus.h> #include "swaybar/tray/sni_watcher.h" |