aboutsummaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/pw_encrypt.c')
-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 @@
*
* 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 =