Fix Windows RC icon path and remove stray include in warden_module

Copy Wowee.ico into the build tree at configure time so llvm-rc can
resolve the relative assets\\wowee.ico path in wowee.rc. Also remove a
redundant #include <sys/mman.h> that was incorrectly placed inside a
function body.
This commit is contained in:
Kelsi 2026-02-18 19:05:47 -08:00
parent 9d44d672d2
commit 2e32312fb2
2 changed files with 6 additions and 1 deletions

View file

@ -494,7 +494,6 @@ bool WardenModule::parseExecutableFormat(const std::vector<uint8_t>& exeData) {
return false;
}
#else
#include <sys/mman.h>
moduleMemory_ = mmap(
nullptr,
finalCodeSize,