1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Check for and set HAVE_CRYPT_H if <crypt.h> exists

include crypt.h in password.c if crypt.h does exist
This commit is contained in:
Marc G. Fournier
1997-03-20 18:04:32 +00:00
parent 419b4304ba
commit 7d5770eaf2
4 changed files with 10 additions and 4 deletions

View File

@@ -4,6 +4,9 @@
#include <libpq/libpq.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_CRYPT
# include <crypt.h>
#endif
int
verify_password(char *user, char *password, Port *port,