aboutsummaryrefslogtreecommitdiff
path: root/libbb/pw_encrypt.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 09:43:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 09:45:20 +0200
commit57dbe4d5ac483f928b6e80b33993c8fd6a061aa7 (patch)
tree0665f5fdd6886c67693423b5de9c6a4c51599e0b /libbb/pw_encrypt.c
parent35a017c0c52bc6de761b30bc0468a6fec380ab27 (diff)
downloadbusybox-57dbe4d5ac483f928b6e80b33993c8fd6a061aa7.tar.gz
libbb: crypt() in newer glibc requires include <crypt.h>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/pw_encrypt.c')
-rw-r--r--libbb/pw_encrypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c
index 1edf4b6f0..86455cd0d 100644
--- a/libbb/pw_encrypt.c
+++ b/libbb/pw_encrypt.c
@@ -6,6 +6,7 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+#include <crypt.h>
#include "libbb.h"
/* static const uint8_t ascii64[] ALIGN1 =