From bfb5e0cdff9c4ebda909554f30b51d6cf887effc Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 15 Oct 2017 09:30:27 -0400 Subject: [PATCH] Merge pull request #1402 from johalun/event-codes-include-fix Fix include path to input-event-codes.h for FreeBSD. --- swaybar/bar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swaybar/bar.c b/swaybar/bar.c index f8dc3a1f8..f12923a8d 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c @@ -7,7 +7,11 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#else #include +#endif #ifdef ENABLE_TRAY #include #include "swaybar/tray/sni_watcher.h"