summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-01 11:38:19 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-01 12:40:12 +0200
commitce77caf479a8f7003d3789737a888cec628efae3 (patch)
tree2af893629c445a738c2583c03fa2a77fe95405fa /Userland/Libraries/LibCore
parentf05086a5d2d4e070bfedd431287de335890a9be2 (diff)
downloadserenity-ce77caf479a8f7003d3789737a888cec628efae3.zip
LibC: Move crypt() and crypt_r() to the right header file
According to POSIX.1 these should be in <crypt.h>.
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/Account.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/Account.cpp b/Userland/Libraries/LibCore/Account.cpp
index e357cdd498..869958c604 100644
--- a/Userland/Libraries/LibCore/Account.cpp
+++ b/Userland/Libraries/LibCore/Account.cpp
@@ -9,6 +9,7 @@
#include <AK/ScopeGuard.h>
#include <LibCore/Account.h>
#include <LibCore/File.h>
+#include <crypt.h>
#include <errno.h>
#include <grp.h>
#include <pwd.h>