# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/firefox/hotfix-riscv64-jit.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- firefox-152.0.1/js/src/jit/riscv64/constant/Base-constant-riscv.cpp.vanilla 2026-06-23 10:04:32.658623465 +0200 +++ firefox-152.0.1/js/src/jit/riscv64/constant/Base-constant-riscv.cpp 2026-06-23 10:16:04.499269239 +0200 @@ -13,7 +13,10 @@ #include "jit/riscv64/constant/Constant-riscv-v.h" #include "jit/riscv64/constant/Constant-riscv-zicsr.h" #include "jit/riscv64/constant/Constant-riscv-zifencei.h" +#ifdef JS_SIMULATOR_RISCV64 #include "jit/riscv64/Simulator-riscv64.h" +#endif + namespace js { namespace jit {