From 7e3cfaf08cbcc6f54b787f4cd5f78e78e9ac46db Mon Sep 17 00:00:00 2001 From: Simon Wanner Date: Mon, 6 Nov 2023 10:22:20 +0100 Subject: [PATCH] LibJS/JIT: Include headers before they are used JIT_ARCH_SUPPORTED is defined in LibJIT/Assembler.h, so we need to include it first. This change also moves the non-JIT headers outside the #ifdef --- Userland/Libraries/LibJS/JIT/Compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Libraries/LibJS/JIT/Compiler.h b/Userland/Libraries/LibJS/JIT/Compiler.h index 0fcb74256f..2e059e4405 100644 --- a/Userland/Libraries/LibJS/JIT/Compiler.h +++ b/Userland/Libraries/LibJS/JIT/Compiler.h @@ -8,12 +8,12 @@ #pragma once #include +#include +#include +#include #include #ifdef JIT_ARCH_SUPPORTED -# include -# include -# include namespace JS::JIT {