Fix missing "crypt.h" compilation error on the FreeBSD
FreeBSD does not use crypt.h, but unistd.h which is already included Signed-off-by: Alex Samorukov <samm@os2.kiev.ua> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
92d84c4014
commit
09aba8bac4
@ -7,7 +7,9 @@
|
|||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
#if !ENABLE_USE_BB_CRYPT
|
#if !ENABLE_USE_BB_CRYPT
|
||||||
#include <crypt.h>
|
# if !defined(__FreeBSD__)
|
||||||
|
# include <crypt.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user