diff options
Diffstat (limited to 'Userland/Utilities/gron.cpp')
-rw-r--r-- | Userland/Utilities/gron.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Utilities/gron.cpp b/Userland/Utilities/gron.cpp index 925cc70fea..34721bec35 100644 --- a/Userland/Utilities/gron.cpp +++ b/Userland/Utilities/gron.cpp @@ -9,6 +9,7 @@ #include <AK/JsonValue.h> #include <AK/StringBuilder.h> #include <LibCore/ArgsParser.h> +#include <LibCore/File.h> #include <LibCore/Stream.h> #include <LibCore/System.h> #include <LibMain/Main.h> @@ -54,7 +55,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) args_parser.add_positional_argument(path, "Input", "input", Core::ArgsParser::Required::No); args_parser.parse(arguments); - auto file = TRY(Core::Stream::File::open_file_or_standard_stream(path, Core::Stream::OpenMode::Read)); + auto file = TRY(Core::File::open_file_or_standard_stream(path, Core::File::OpenMode::Read)); TRY(Core::System::pledge("stdio")); |