diff --git a/src/controllers/plugins/Plugin.hpp b/src/controllers/plugins/Plugin.hpp index 5c714d06a..71095a377 100644 --- a/src/controllers/plugins/Plugin.hpp +++ b/src/controllers/plugins/Plugin.hpp @@ -1,16 +1,17 @@ #pragma once -#include "Application.hpp" -#include "controllers/commands/CommandController.hpp" +#ifdef CHATTERINO_HAVE_PLUGINS +# include "Application.hpp" +# include "controllers/commands/CommandController.hpp" -#include -#include -#include -#include -#include -#include +# include +# include +# include +# include +# include +# include -#include -#include +# include +# include struct lua_State; @@ -143,3 +144,4 @@ private: friend class PluginController; }; } // namespace chatterino +#endif