Browse Source

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

Fixes #10803.
Benjamin S Osenbach 3 years ago
parent
commit
d82e41440c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Userland/Libraries/LibCore/Account.cpp

+ 1 - 3
Userland/Libraries/LibCore/Account.cpp

@@ -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>