diff --git a/src/app/script/script_input_chain.cpp b/src/app/script/script_input_chain.cpp index 0bc7e419a..4a5836a7c 100644 --- a/src/app/script/script_input_chain.cpp +++ b/src/app/script/script_input_chain.cpp @@ -8,12 +8,13 @@ #include "config.h" #endif +#include "app/script/script_input_chain.h" + #include "app/app.h" #include "app/cmd/deselect_mask.h" #include "app/cmd/remap_colors.h" #include "app/commands/commands.h" #include "app/context_access.h" -#include "app/script/script_input_chain.h" #include "app/site.h" #include "app/tx.h" #include "app/util/clipboard.h" diff --git a/src/app/script/script_input_chain.h b/src/app/script/script_input_chain.h index 2b9ee7290..fa63d2af9 100644 --- a/src/app/script/script_input_chain.h +++ b/src/app/script/script_input_chain.h @@ -4,12 +4,14 @@ // This program is distributed under the terms of // the End-User License Agreement for Aseprite. -#ifdef ENABLE_SCRIPTING - #ifndef APP_SCRIPT_SCRIPT_INPUT_CHAIN_H_INCLUDED #define APP_SCRIPT_SCRIPT_INPUT_CHAIN_H_INCLUDED #pragma once +#ifndef ENABLE_SCRIPTING + #error ENABLE_SCRIPTING must be defined +#endif + #include "app/ui/input_chain_element.h" namespace app { @@ -34,5 +36,5 @@ namespace app { }; } // namespace app -#endif + #endif