shared/libcrypt-util: include fewer headers

Now that we wrap crypt_r/ra uses, we can include the header only in libcrypt-util.c.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-09-15 11:52:30 +02:00
parent 999b49c818
commit 83764f8d00
3 changed files with 21 additions and 14 deletions
+6
View File
@@ -1,5 +1,11 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#if HAVE_CRYPT_H
# include <crypt.h>
#else
# include <unistd.h>
#endif
#include "strv.h"
#include "tests.h"
#include "libcrypt-util.h"