summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/LocalServer.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-12 19:21:59 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-12 23:34:01 +0100
commit1a08ac72ad4610689f23ae76f41bd8adcb23fe47 (patch)
tree844395bad7a402d864512296360c9c2ef0083712 /Userland/Libraries/LibCore/LocalServer.cpp
parentd551263b111bc83e65fa845ef245f43982dfd7ad (diff)
downloadserenity-1a08ac72ad4610689f23ae76f41bd8adcb23fe47.zip
LibC+Everywhere: Remove open_with_path_length() in favor of open()
This API was a mostly gratuitous deviation from POSIX that gave up some portability in exchange for avoiding the occasional strlen(). I don't think that was actually achieving anything valuable, so let's just chill out and have the same open() API as everyone else. :^)
Diffstat (limited to 'Userland/Libraries/LibCore/LocalServer.cpp')
-rw-r--r--Userland/Libraries/LibCore/LocalServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/LocalServer.cpp b/Userland/Libraries/LibCore/LocalServer.cpp
index 092cf82388..ec99d51317 100644
--- a/Userland/Libraries/LibCore/LocalServer.cpp
+++ b/Userland/Libraries/LibCore/LocalServer.cpp
@@ -27,6 +27,7 @@
#include <LibCore/LocalServer.h>
#include <LibCore/LocalSocket.h>
#include <LibCore/Notifier.h>
+#include <fcntl.h>
#include <stdio.h>
#include <sys/socket.h>
#include <sys/stat.h>