aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-07-16 15:09:06 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-07-16 15:09:06 +0200
commit4767a5375e6681a962efadb19cb457fd4b9ea278 (patch)
tree14b71f946724bbbb0b903c77c6303c9984dcbba4
parentb6946084296525f0e2aa3e72df7b896cc98197d7 (diff)
downloadbusybox-w32-4767a5375e6681a962efadb19cb457fd4b9ea278.tar.gz
busybox-w32-4767a5375e6681a962efadb19cb457fd4b9ea278.tar.bz2
busybox-w32-4767a5375e6681a962efadb19cb457fd4b9ea278.zip
libbb: include <crypt.h> only if necessary
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/pw_encrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c
index 86455cd0d..47c20690f 100644
--- a/libbb/pw_encrypt.c
+++ b/libbb/pw_encrypt.c
@@ -6,7 +6,9 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9#if !ENABLE_USE_BB_CRYPT
9#include <crypt.h> 10#include <crypt.h>
11#endif
10#include "libbb.h" 12#include "libbb.h"
11 13
12/* static const uint8_t ascii64[] ALIGN1 = 14/* static const uint8_t ascii64[] ALIGN1 =