From 410a4df7f71b8d460c69ad0f9c98688eb0cfbd4b Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 5 Sep 2024 18:34:16 -0300 Subject: [PATCH] Minor changes to header files --- src/app/script/script_input_chain.cpp | 3 ++- src/app/script/script_input_chain.h | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) 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