summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2022-09-13 17:42:39 +0200
committerTim Flynn <trflynn89@pm.me>2022-09-18 13:27:24 -0400
commit48d8aff4367615d8ea90cc78abfa6f1dd6080726 (patch)
tree5b69eac9c562af6cca85984bba931f94c95d75ba /Userland
parentd073a31c21f38d1c19029b79fb18936acaa9a46d (diff)
downloadserenity-48d8aff4367615d8ea90cc78abfa6f1dd6080726.zip
LibJS: Add missing includes
This remained undetected for a long time as HeaderCheck is disabled by default. This commit makes the following file compile again: // file: compile_me.cpp #include <LibJS/Runtime/StringPrototype.h> // That's it, this was enough to cause a compilation error. Likewise for most other files touched by this commit.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h1
-rw-r--r--Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.h1
-rw-r--r--Userland/Libraries/LibJS/Runtime/StringPrototype.h1
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h b/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h
index f02ecbbb1e..ffe40df013 100644
--- a/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h
+++ b/Userland/Libraries/LibJS/Runtime/ClassFieldDefinition.h
@@ -8,6 +8,7 @@
#include <AK/Forward.h>
#include <LibJS/Forward.h>
+#include <LibJS/Heap/Handle.h>
namespace JS {
diff --git a/Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.h b/Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.h
index ceea57c9d7..cdce27d023 100644
--- a/Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.h
+++ b/Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.h
@@ -8,6 +8,7 @@
#include <AK/FlyString.h>
#include <AK/HashMap.h>
+#include <LibJS/AST.h>
#include <LibJS/Runtime/Completion.h>
#include <LibJS/Runtime/Environment.h>
#include <LibJS/Runtime/Value.h>
diff --git a/Userland/Libraries/LibJS/Runtime/StringPrototype.h b/Userland/Libraries/LibJS/Runtime/StringPrototype.h
index b24e8ee0ba..afbbda62d0 100644
--- a/Userland/Libraries/LibJS/Runtime/StringPrototype.h
+++ b/Userland/Libraries/LibJS/Runtime/StringPrototype.h
@@ -6,6 +6,7 @@
#pragma once
+#include <AK/Utf8View.h>
#include <LibJS/Runtime/StringObject.h>
namespace JS {
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h b/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
index 6655f7f770..972962b0e8 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
@@ -8,6 +8,7 @@
#include <LibJS/Runtime/BigInt.h>
#include <LibJS/Runtime/Object.h>
+#include <LibJS/Runtime/Temporal/AbstractOperations.h>
namespace JS::Temporal {