From 68eb32f963bbabaf0c820eacc3249f95a64b2f26 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 14 Aug 2023 20:09:57 +1000 Subject: [PATCH] dep/reshadefx: Fix building on MacOS/Linux --- dep/reshadefx/src/effect_parser_stmt.cpp | 1 + dep/reshadefx/src/effect_symbol_table.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/dep/reshadefx/src/effect_parser_stmt.cpp b/dep/reshadefx/src/effect_parser_stmt.cpp index 782972954..f447adb06 100644 --- a/dep/reshadefx/src/effect_parser_stmt.cpp +++ b/dep/reshadefx/src/effect_parser_stmt.cpp @@ -8,6 +8,7 @@ #include "effect_codegen.hpp" #include // std::toupper #include +#include #include #include diff --git a/dep/reshadefx/src/effect_symbol_table.cpp b/dep/reshadefx/src/effect_symbol_table.cpp index 291d55396..8ba800f5c 100644 --- a/dep/reshadefx/src/effect_symbol_table.cpp +++ b/dep/reshadefx/src/effect_symbol_table.cpp @@ -5,7 +5,11 @@ #include "effect_symbol_table.hpp" #include +#ifndef __APPLE__ #include // alloca +#else +#include +#endif #include // std::upper_bound, std::sort #include // std::greater