bluetooth: limit to Linux due to missing /dev/rfkill

../src/modules/bluetooth.cpp:3:10: fatal error: 'linux/rfkill.h' file not found
 #include <linux/rfkill.h>
          ^~~~~~~~~~~~~~~~
This commit is contained in:
Jan Beich
2019-08-09 09:52:16 +00:00
parent 71b7b4e0f4
commit 1885ecc958
3 changed files with 6 additions and 2 deletions

View File

@ -36,7 +36,9 @@
#include "bar.hpp"
#include "modules/custom.hpp"
#include "modules/temperature.hpp"
#if defined(__linux__)
#include "modules/bluetooth.hpp"
#endif
namespace waybar {