diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2022-09-13 17:42:39 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-09-18 13:27:24 -0400 |
commit | 48d8aff4367615d8ea90cc78abfa6f1dd6080726 (patch) | |
tree | 5b69eac9c562af6cca85984bba931f94c95d75ba /Userland | |
parent | d073a31c21f38d1c19029b79fb18936acaa9a46d (diff) | |
download | serenity-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')
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 { |