From 1e4aec6e2feaa503573da1e01cc454760ca74575 Mon Sep 17 00:00:00 2001 From: Sharjeel Khan Date: Wed, 15 Jul 2026 03:43:13 +0000 Subject: [PATCH] Add new header for new std::nothrow Libc++ removed certain transitive includes so we need to add new header for the file. Error: external/lfi/lfi-runtime/core/mmap/mmap_c.cpp:34:24: error: no member named 'nothrow' in namespace 'std' 34 | auto *mm = new (std::nothrow) MMapAddrSpace; | ^~~~~~~ 1 error generated --- core/mmap/mmap_c.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/mmap/mmap_c.cpp b/core/mmap/mmap_c.cpp index 0714fda..8993649 100644 --- a/core/mmap/mmap_c.cpp +++ b/core/mmap/mmap_c.cpp @@ -1,6 +1,8 @@ #include "mmap_c.h" #include "addr_space.h" +#include + struct MMapAddrSpace { mmap::AddrSpace impl; };