[git commit] libbb: crypt() in newer glibc requires include <crypt.h>

Denys Vlasenko vda.linux at googlemail.com
Wed Jun 27 07:45:20 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=57dbe4d5ac483f928b6e80b33993c8fd6a061aa7
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/pw_encrypt.c | 1 +
 1 file changed, 1 insertion(+)

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 =


More information about the busybox-cvs mailing list