cross-build: Define crypt_data in unistd.h for libcrypt
This is where it's defined in the base system, so is where libcrypt expects it to exist when being built, and will be needed when being bootstrapped in a subsequent commit. MFC after: 1 week
This commit is contained in:
parent
7d232d647e
commit
8ceba27a5d
@ -39,6 +39,11 @@
|
||||
#include_next <unistd.h>
|
||||
#include <getopt.h>
|
||||
|
||||
struct crypt_data {
|
||||
int initialized; /* For compatibility with glibc. */
|
||||
char __buf[256]; /* Buffer returned by crypt_r(). */
|
||||
};
|
||||
|
||||
static inline int
|
||||
check_utility_compat(const char *utility __unused)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user