summaryrefslogtreecommitdiff
path: root/Userland/Utilities/base64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/base64.cpp')
-rw-r--r--Userland/Utilities/base64.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Utilities/base64.cpp b/Userland/Utilities/base64.cpp
index a622ea8ca6..9aa05d3197 100644
--- a/Userland/Utilities/base64.cpp
+++ b/Userland/Utilities/base64.cpp
@@ -6,6 +6,7 @@
#include <AK/Base64.h>
#include <LibCore/ArgsParser.h>
+#include <LibCore/File.h>
#include <LibCore/Stream.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
@@ -22,7 +23,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
args_parser.add_positional_argument(filepath, "", "file", Core::ArgsParser::Required::No);
args_parser.parse(arguments);
- auto file = TRY(Core::Stream::File::open_file_or_standard_stream(filepath, Core::Stream::OpenMode::Read));
+ auto file = TRY(Core::File::open_file_or_standard_stream(filepath, Core::File::OpenMode::Read));
ByteBuffer buffer = TRY(file->read_until_eof());
TRY(Core::System::pledge("stdio"));