diff --git a/src/config.cpp b/src/config.cpp index 39efb69..badba93 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -28,8 +28,10 @@ #include "parser.h" #include "message.h" #include "thinkfan.h" -#include "yamlconfig.h" +#ifdef USE_YAML +#include "yamlconfig.h" +#endif namespace thinkfan {