diff --git a/src/components/controller.cpp b/src/components/controller.cpp index c7ffdd72..7c3c5189 100644 --- a/src/components/controller.cpp +++ b/src/components/controller.cpp @@ -20,7 +20,6 @@ #include "modules/script.hpp" #include "modules/temperature.hpp" #include "modules/text.hpp" -#include "modules/unsupported.hpp" #include "modules/xbacklight.hpp" #include "modules/xwindow.hpp" @@ -45,6 +44,10 @@ #include "modules/volume.hpp" #endif +#if not (ENABLE_I3 && ENABLE_MPD && ENABLE_NETWORK && ENABLE_ALSA) +#include "modules/unsupported.hpp" +#endif + POLYBAR_NS using namespace modules;