1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibCore: Don't include crypt.h in Account.cpp on FreeBSD

Fixes #10803.
This commit is contained in:
Benjamin S Osenbach 2021-11-10 08:17:21 -05:00 committed by Linus Groh
parent 58c6a156bf
commit d82e41440c

View file

@ -8,13 +8,11 @@
#include <AK/Random.h>
#include <AK/ScopeGuard.h>
#include <LibCore/Account.h>
#ifndef AK_OS_MACOS
# include <crypt.h>
#endif
#include <errno.h>
#include <grp.h>
#include <pwd.h>
#ifndef AK_OS_BSD_GENERIC
# include <crypt.h>
# include <shadow.h>
#endif
#include <stdio.h>