dep/reshadefx: Fix building on MacOS/Linux

This commit is contained in:
Stenzek 2023-08-14 20:09:57 +10:00
parent 8c638b4c78
commit 68eb32f963
2 changed files with 5 additions and 0 deletions

View file

@ -8,6 +8,7 @@
#include "effect_codegen.hpp"
#include <cctype> // std::toupper
#include <cassert>
#include <limits>
#include <functional>
#include <string_view>

View file

@ -5,7 +5,11 @@
#include "effect_symbol_table.hpp"
#include <cassert>
#ifndef __APPLE__
#include <malloc.h> // alloca
#else
#include <alloca.h>
#endif
#include <algorithm> // std::upper_bound, std::sort
#include <functional> // std::greater