Merge pull request #1402 from johalun/event-codes-include-fix

Fix include path to input-event-codes.h for FreeBSD.
This commit is contained in:
Drew DeVault 2017-10-15 09:30:27 -04:00
parent 8df33198ea
commit bfb5e0cdff

View file

@ -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"