diff --git a/Libraries/LibWeb/HTML/Scripting/Fetching.cpp b/Libraries/LibWeb/HTML/Scripting/Fetching.cpp
index ad5e1a1bb3..edb827c51e 100644
--- a/Libraries/LibWeb/HTML/Scripting/Fetching.cpp
+++ b/Libraries/LibWeb/HTML/Scripting/Fetching.cpp
@@ -1,6 +1,7 @@
/*
* Copyright (c) 2022-2023, networkException
* Copyright (c) 2024, Tim Ledbetter
+ * Copyright (c) 2024, Shannon Booth
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -9,6 +10,8 @@
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -84,36 +87,38 @@ ByteString module_type_from_module_request(JS::ModuleRequest const& module_reque
// https://whatpr.org/html/9893/webappapis.html#resolve-a-module-specifier
WebIDL::ExceptionOr resolve_module_specifier(Optional