diff options
author | 2017-10-15 09:30:27 -0400 | |
---|---|---|
committer | 2017-10-15 09:30:27 -0400 | |
commit | 67f9b7fe5bc2db01876953fd638fed307b5aa147 (patch) | |
tree | a10527340e6f24f997e5e10c3ba70a8e80b0a725 /swaybar/bar.c | |
parent | Merge pull request #1401 from sideshowdave7/config/add_scale_to_merge_output_... (diff) | |
parent | Fix include path to input-event-codes.h for FreeBSD. (diff) | |
download | sway-67f9b7fe5bc2db01876953fd638fed307b5aa147.tar.gz sway-67f9b7fe5bc2db01876953fd638fed307b5aa147.tar.zst sway-67f9b7fe5bc2db01876953fd638fed307b5aa147.zip |
Merge pull request #1402 from johalun/event-codes-include-fix
Fix include path to input-event-codes.h for FreeBSD.
Diffstat (limited to 'swaybar/bar.c')
-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 @@ | |||
7 | #include <sys/wait.h> | 7 | #include <sys/wait.h> |
8 | #include <signal.h> | 8 | #include <signal.h> |
9 | #include <poll.h> | 9 | #include <poll.h> |
10 | #ifdef __FreeBSD__ | ||
11 | #include <dev/evdev/input-event-codes.h> | ||
12 | #else | ||
10 | #include <linux/input-event-codes.h> | 13 | #include <linux/input-event-codes.h> |
14 | #endif | ||
11 | #ifdef ENABLE_TRAY | 15 | #ifdef ENABLE_TRAY |
12 | #include <dbus/dbus.h> | 16 | #include <dbus/dbus.h> |
13 | #include "swaybar/tray/sni_watcher.h" | 17 | #include "swaybar/tray/sni_watcher.h" |