From 4aade74b912488bf63eaa2d525fb30b7680d382e Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sat, 1 Oct 2022 17:16:22 +0300 Subject: [PATCH] LibJS: Include Environment.h directly in ClassFieldDefinition.h This was previously indirectly forcing Heap/Handle.h to include it instead. This will let us include Handle.h from PropertyKey, which will allow us to solve a different issue. --- Userland/Libraries/LibJS/Heap/Handle.h | 1 - Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Heap/Handle.h b/Userland/Libraries/LibJS/Heap/Handle.h index 85540adf36..4b84a7ef37 100644 --- a/Userland/Libraries/LibJS/Heap/Handle.h +++ b/Userland/Libraries/LibJS/Heap/Handle.h @@ -12,7 +12,6 @@ #include #include #include -#include #include namespace JS { diff --git a/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h b/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h index ffe40df013..aa03b111c8 100644 --- a/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h +++ b/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h @@ -9,6 +9,7 @@ #include #include #include +#include namespace JS {