diff options
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" |