From 44e72573cbe541b8a719eec4bc22ea0856a039ef Mon Sep 17 00:00:00 2001 From: Johannes Lundberg Date: Sun, 15 Oct 2017 10:54:47 +0200 Subject: [PATCH] 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 f8dc3a1f..f12923a8 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"