summaryrefslogtreecommitdiff
path: root/Userland/Utilities/shuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/shuf.cpp')
-rw-r--r--Userland/Utilities/shuf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Utilities/shuf.cpp b/Userland/Utilities/shuf.cpp
index 30a1c9f379..1b0c94bf99 100644
--- a/Userland/Utilities/shuf.cpp
+++ b/Userland/Utilities/shuf.cpp
@@ -9,6 +9,7 @@
#include <AK/Random.h>
#include <AK/Vector.h>
#include <LibCore/ArgsParser.h>
+#include <LibCore/File.h>
#include <LibCore/Stream.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
@@ -28,7 +29,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
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));
ByteBuffer buffer = TRY(file->read_until_eof());
u8 input_delimiter = is_zero_terminated ? '\0' : '\n';