commit | 4767a5375e6681a962efadb19cb457fd4b9ea278 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jul 16 15:09:06 2019 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Jul 16 15:09:06 2019 +0200 |
tree | 14b71f946724bbbb0b903c77c6303c9984dcbba4 | |
parent | b6946084296525f0e2aa3e72df7b896cc98197d7 [diff] |
libbb: include <crypt.h> only if necessary Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c index 86455cd..47c2069 100644 --- a/libbb/pw_encrypt.c +++ b/libbb/pw_encrypt.c
@@ -6,7 +6,9 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +#if !ENABLE_USE_BB_CRYPT #include <crypt.h> +#endif #include "libbb.h" /* static const uint8_t ascii64[] ALIGN1 =