From 973b62a34816efa8a18fd0ecbed031f5118b8f09 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Sat, 28 Jun 2025 02:23:23 +0200 Subject: [PATCH] Added some missing headers. --- source/mijin/memory/stack_allocator.hpp | 3 +++ source/mijin/util/align.hpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/mijin/memory/stack_allocator.hpp b/source/mijin/memory/stack_allocator.hpp index 1a73294..c92bd2f 100644 --- a/source/mijin/memory/stack_allocator.hpp +++ b/source/mijin/memory/stack_allocator.hpp @@ -4,9 +4,12 @@ #if !defined(MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED) #define MIJIN_MEMORY_STACK_ALLOCATOR_HPP_INCLUDED 1 +#include +#include #include "../debug/assert.hpp" #include "../internal/common.hpp" #include "../util/align.hpp" +#include "../util/concepts.hpp" #include "../util/traits.hpp" #if !defined(MIJIN_STACK_ALLOCATOR_DEBUG) diff --git a/source/mijin/util/align.hpp b/source/mijin/util/align.hpp index 154632c..c2611db 100644 --- a/source/mijin/util/align.hpp +++ b/source/mijin/util/align.hpp @@ -4,6 +4,8 @@ #if !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED) #define MIJIN_UTIL_ALIGN_HPP_INCLUDED 1 +#include +#include #include "../internal/common.hpp" namespace mijin @@ -27,4 +29,4 @@ T* alignUp(T* pointer, std::uintptr_t alignTo) MIJIN_NOEXCEPT #define MIJIN_STRIDEOF(T) mijin::alignUp(sizeof(T), alignof(T)) } // namespace mijin -#endif // !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED) \ No newline at end of file +#endif // !defined(MIJIN_UTIL_ALIGN_HPP_INCLUDED)