summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIDL/IDLParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibIDL/IDLParser.cpp')
-rw-r--r--Userland/Libraries/LibIDL/IDLParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIDL/IDLParser.cpp b/Userland/Libraries/LibIDL/IDLParser.cpp
index 2fe98cdd21..1e2dabb01e 100644
--- a/Userland/Libraries/LibIDL/IDLParser.cpp
+++ b/Userland/Libraries/LibIDL/IDLParser.cpp
@@ -12,6 +12,7 @@
#include <AK/LexicalPath.h>
#include <AK/QuickSort.h>
#include <LibCore/DeprecatedFile.h>
+#include <LibCore/File.h>
#include <LibCore/Stream.h>
[[noreturn]] static void report_parsing_error(StringView message, StringView filename, StringView input, size_t offset)
@@ -149,7 +150,7 @@ Optional<Interface&> Parser::resolve_import(auto path)
report_parsing_error(DeprecatedString::formatted("Circular import detected: {}", include_path), filename, input, lexer.tell());
import_stack.set(real_path);
- auto file_or_error = Core::Stream::File::open(real_path, Core::Stream::OpenMode::Read);
+ auto file_or_error = Core::File::open(real_path, Core::File::OpenMode::Read);
if (file_or_error.is_error())
report_parsing_error(DeprecatedString::formatted("Failed to open {}: {}", real_path, file_or_error.error()), filename, input, lexer.tell());