From 8370ae8324078a052ede923aa10d00efa0a9823c Mon Sep 17 00:00:00 2001 From: bonsthie Date: Thu, 8 Aug 2024 17:49:14 +0200 Subject: [PATCH] Add header to fix compilation issue on Arch Linux The code was failing to compile on Arch Linux due to missing definitions from the header. Including this header resolves the issue, ensuring compatibility across different environments. --- src/core/application.inl | 1 + src/core/graphics.inl | 1 + src/renderer/command/vk_cmd_buffer.h | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/application.inl b/src/core/application.inl index a3ccec1..62c85ea 100644 --- a/src/core/application.inl +++ b/src/core/application.inl @@ -10,6 +10,7 @@ /* */ /* ************************************************************************** */ +#include #include #define CHECK_WINDOW_PTR(win) \ diff --git a/src/core/graphics.inl b/src/core/graphics.inl index 97958e0..6335cbf 100644 --- a/src/core/graphics.inl +++ b/src/core/graphics.inl @@ -10,6 +10,7 @@ /* */ /* ************************************************************************** */ +#include #include namespace mlx diff --git a/src/renderer/command/vk_cmd_buffer.h b/src/renderer/command/vk_cmd_buffer.h index d8fd7aa..39ef073 100644 --- a/src/renderer/command/vk_cmd_buffer.h +++ b/src/renderer/command/vk_cmd_buffer.h @@ -3,10 +3,10 @@ /* ::: :::::::: */ /* vk_cmd_buffer.h :+: :+: :+: */ /* +:+ +:+ +:+ */ -/* By: maldavid +#+ +:+ +#+ */ +/* By: bonsthie +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/06 18:25:42 by maldavid #+# #+# */ -/* Updated: 2024/01/07 01:25:50 by maldavid ### ########.fr */ +/* Updated: 2024/08/08 17:46:00 by bonsthie ### ########.fr */ /* */ /* ************************************************************************** */ @@ -17,6 +17,7 @@ #include #include #include +#include namespace mlx {