Make fixups for libcrypt

This commit is contained in:
Justine Tunney 2024-02-23 07:39:44 -08:00
parent 9b4701b3bc
commit e72a88ea70
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 30 additions and 16 deletions

View file

@ -7,10 +7,8 @@ struct crypt_data {
char __buf[256];
};
void encrypt(char *, int);
void setkey(const char *);
char *crypt(const char *, const char *);
char *crypt_r(const char *, const char *, struct crypt_data *);
char *crypt(const char *, const char *) libcesque;
char *crypt_r(const char *, const char *, struct crypt_data *) libcesque;
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_THIRD_PARTY_MUSL_CRYPT_H_ */

View file

@ -89,6 +89,7 @@
#include "third_party/python/Include/warnings.h"
#include "third_party/python/Include/yoink.h"
#include "third_party/python/Modules/_multiprocessing/multiprocessing.h"
#include "libc/unistd.h"
#include "third_party/python/pyconfig.h"
PYTHON_PROVIDE("posix");