summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibSQL')
-rw-r--r--Userland/Libraries/LibSQL/BTree.h1
-rw-r--r--Userland/Libraries/LibSQL/SQLClient.cpp6
2 files changed, 3 insertions, 4 deletions
diff --git a/Userland/Libraries/LibSQL/BTree.h b/Userland/Libraries/LibSQL/BTree.h
index 1bc149e9c5..c47be1f2a7 100644
--- a/Userland/Libraries/LibSQL/BTree.h
+++ b/Userland/Libraries/LibSQL/BTree.h
@@ -13,7 +13,6 @@
#include <AK/Optional.h>
#include <AK/RefPtr.h>
#include <AK/Vector.h>
-#include <LibCore/File.h>
#include <LibCore/Object.h>
#include <LibSQL/Forward.h>
#include <LibSQL/Heap.h>
diff --git a/Userland/Libraries/LibSQL/SQLClient.cpp b/Userland/Libraries/LibSQL/SQLClient.cpp
index 00618df647..2cad3e8c8d 100644
--- a/Userland/Libraries/LibSQL/SQLClient.cpp
+++ b/Userland/Libraries/LibSQL/SQLClient.cpp
@@ -10,8 +10,8 @@
#include <LibSQL/SQLClient.h>
#if !defined(AK_OS_SERENITY)
+# include <LibCore/DeprecatedFile.h>
# include <LibCore/Directory.h>
-# include <LibCore/File.h>
# include <LibCore/SocketAddress.h>
# include <LibCore/StandardPaths.h>
# include <LibCore/Stream.h>
@@ -25,7 +25,7 @@ namespace SQL {
// This is heavily based on how SystemServer's Service creates its socket.
static ErrorOr<int> create_database_socket(DeprecatedString const& socket_path)
{
- if (Core::File::exists(socket_path))
+ if (Core::DeprecatedFile::exists(socket_path))
TRY(Core::System::unlink(socket_path));
# ifdef SOCK_NONBLOCK
@@ -103,7 +103,7 @@ static ErrorOr<void> launch_server(DeprecatedString const& socket_path, Deprecat
static ErrorOr<bool> should_launch_server(DeprecatedString const& pid_path)
{
- if (!Core::File::exists(pid_path))
+ if (!Core::DeprecatedFile::exists(pid_path))
return true;
Optional<pid_t> pid;