From 26a5a24eea13e4e9d2d82317714fbf84fd6e5240 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 7 Feb 2023 23:00:17 +0100 Subject: [PATCH] Add missing #ifdef CHATTERINO_HAVE_PLUGINS --- src/controllers/plugins/Plugin.hpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) 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