libbb: include <crypt.h> only if necessary

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
pull/18/head
Denys Vlasenko 2019-07-16 15:09:06 +02:00
parent b694608429
commit 4767a5375e
1 changed files with 2 additions and 0 deletions

View File

@ -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 =