termux-packages/packages/fex/External-FEXCore-Source-Utils-Allocator-IntrusiveArenaAllocator.h.patch

20 lines
518 B
Diff
Raw Normal View History

2022-01-15 10:47:28 +01:00
--- a/External/FEXCore/Source/Utils/Allocator/IntrusiveArenaAllocator.h
+++ b/External/FEXCore/Source/Utils/Allocator/IntrusiveArenaAllocator.h
@@ -7,10 +7,15 @@
#include <bitset>
#include <cstddef>
-#include <memory_resource>
+#include <experimental/list>
+#include <experimental/memory_resource>
#include <mutex>
#include <vector>
+namespace std {
+ namespace pmr = experimental::pmr;
+}
+
namespace Alloc {
class ForwardOnlyIntrusiveArenaAllocator final : public std::pmr::memory_resource {
public: