libbb: crypt() in newer glibc requires include <crypt.h>
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Jun 2018 07:43:38 +0000 (09:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Jun 2018 07:45:20 +0000 (09:45 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/pw_encrypt.c

index 1edf4b6f08ad4621b392ec3692a4b59af71197a4..86455cd0df7b14dc2d19065f7a4d03901e485917 100644 (file)
@@ -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 =